- 博客(17)
- 收藏
- 关注
原创 购物车全选反选
//bean类package bwie.com.lenovo.chenxiaojie20190425.bean;import java.util.List;public class CarterBean { /** * msg : 请求成功 * code : 0 * data : [{"list":[{"bargainPrice":99,"cre...
2019-05-06 13:53:55
296
原创 上传头像
主页面的布局<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tool...
2019-05-06 13:36:03
126
原创 在上传头像时,点击更换头像时弹出的popupwindow弹框
写输入popupwindow 的布局<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout...
2019-05-05 16:15:45
621
原创 Fresco
主布局<?xml version="1.0" encoding="utf-8"?><android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/...
2019-03-18 07:56:09
163
原创 意义上是自定义view,仅供参考
//主布局<?xml version="1.0" encoding="utf-8"?><android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com...
2019-03-08 11:46:37
111
原创 购物车二级列表
主xml布局<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tool...
2019-03-08 11:24:14
188
原创 个推
创建一个servicepackage bwie.com.lenovo.chenxiaojie20190304;import android.content.Context;import android.util.Log;import com.igexin.sdk.GTIntentService;import com.igexin.sdk.message.GTCmdMessage;...
2019-03-08 09:38:11
270
原创 登录注册
主activity.xml布局<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" x...
2019-03-07 20:44:10
118
原创 全局捕获异常
public class CrashHandler implements Thread.UncaughtExceptionHandler{ private static CrashHandler sInstance = null; // private Thread.UncaughtExceptionHandler mDefaultHandler; private C...
2019-03-03 19:49:40
99
原创 分类页面展示加联动
mainactivity.xml<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"...
2019-02-26 08:29:59
469
原创 购物车全选复杂代码
购物车xml代码 主mainActivity.xml<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res...
2019-01-19 21:02:22
245
原创 购物车显示数据
mainActivity.xml<?xml version="1.0" encoding="utf-8"?><android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schem...
2019-01-19 20:21:35
337
1
原创 简单的第三方登录
写布局xml按钮<Button android:id="@+id/button" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="登录" /> 接下来要导入jar包到lib里面,然后再add ...
2019-01-13 20:35:36
148
原创 presenter层的类
public class HomeListPresenter implements IHomeListPresenter,HomeListModeInter.ModuleInterface { //接口的类创建的对象的 private final HomeListModeInter homeListModeInter; MainActivity mview; ...
2019-01-07 07:41:28
223
原创 Model层的类
public class HomeListModeInter implements IHomeListModelnter{ ModuleInterface moduleInterface; // public HomeListModeInter(ModuleInterface moduleInterface) { this.moduleInterface=m...
2019-01-07 07:39:35
274
原创 标题栏
这是attrs.xml 文件需要定义的<declare-styleable name="FanTopBar"> <attr name="fany_leftBackground" format="reference"/> <attr name="fany_rightBackground" format="reference&
2019-01-06 20:49:54
127
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人