- 博客(11)
- 收藏
- 关注
原创 mvp网络请求
view层import android.support.v7.app.AppCompatActivity;import android.os.Bundle;import android.support.v7.widget.RecyclerView;import com.bwei.mvprecycleviewokhttplogin.adapter.MyAdapter;import
2017-10-26 13:20:00
687
原创 viewpage小圆点文字轮播
依赖 glid加载图片compile 'com.github.bumptech.glide:glide:3.5.2'compile 'com.android.support:support-v4:26.0.0'主布局RelativeLayout xmlns:android="http://schemas.android.com/apk/res/andr
2017-10-26 09:30:04
546
原创 SpringView下拉刷新上拉加载
添加依赖compile 'com.liaoinstan.springview:library:1.2.6'布局com.liaoinstan.springview.widget.SpringView android:id="@+id/sv" android:layout_width="wrap_content" android:layout_h
2017-10-25 20:26:00
669
原创 buttonknife依赖
在项目的build.gradle中: compile 'com.jakewharton:butterknife:8.8.1'annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'在总app中build.gradle的allprojects下:maven { url 'https://maven.g
2017-10-25 19:29:32
556
原创 viewpage+fragment
布局文件android.support.v4.view.ViewPager android:id="@+id/myViewPager" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_weight="1">android.suppo
2017-10-25 19:13:46
401
原创 全局异常捕获器
记得在Mapplication类中初始化 CrashHandler.getintence.init(this).package com.bwei.xme.exception;import java.io.File;import java.io.FileOutputStream;import java.io.PrintWriter;import java.io.S
2017-10-25 18:43:50
258
原创 简单购物车
main布局LinearLayout android:id="@+id/top_bar" android:layout_width="match_parent" android:layout_height="48dp" android:background="#E24146" android:orientation="vertical">
2017-10-25 17:16:56
675
原创 自定义view解锁
一:布局文件 xmlns:tools="http://schemas.android.com/tools" android:id="@+id/activity_main" android:layout_width="match_parent" android:layout_height="match_parent" >
2017-09-29 11:17:14
351
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅