- 博客(8)
- 收藏
- 关注
原创 多渠道打包
1.清单文件中的配置<?xml version="1.0" encoding="utf-8"?><manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.dell.multichannelpackagedemo05"> <
2018-05-14 10:08:47 296
原创 Android应用版本更新,断点下载并安装
1.依赖://《Okhttp网络请求依赖》implementation 'com.squareup.okhttp3:okhttp:3.10.0'//《Gson解析依赖》implementation 'com.google.code.gson:gson:2.8.2'//《Butterknife依赖(黄油刀)》implementation 'com.jakewharton:butterkni...
2018-05-13 20:06:25 688
原创 配置
1.按钮选中切换<?xml version="1.0" encoding="utf-8"?><selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:state_checked="true" android:drawable="@d
2018-05-04 07:38:41 194
原创 防止内存泄露
1.在P层创建方法://销毁V层 防止内存泄露public void daadData() { if(dataView!=null){ dataView=null; }}2.在V层onDestroy()进行调用@Overridepublic void onDestroy() { super.onDestroy(); presenter.daadDat...
2018-05-03 23:22:32 213
原创 仿京东 我的页面
1.信息beanpackage com.example.dell.jingdong201804.model.WoDe;public class UserBean { private String msg; private String code; private DataBean data; public String getMsg() { ...
2018-05-03 22:45:01 2510
原创 仿京东 购物车
1.购物车1级package com.example.dell.jingdong201804.model.Shopping.bean;/** * Created by dell on 2018/5/1. */public class ShoppingDataBean<T> { private String msg; private String code;...
2018-05-03 22:21:09 346
原创 仿京东 分类
1.分类左侧beanpackage com.example.dell.jingdong201804.model.FenLei.FenLeiDataBean;import java.util.List;/** * Created by dell on 2018/4/12. */public class FenLeiDataBean_left { /** * ms...
2018-05-03 22:09:34 593
原创 仿京东实现 首页
1.依赖/《Banner依赖》compile 'com.youth.banner:banner:1.4.9'//《Fresco图片框架依赖》compile 'com.facebook.fresco:fresco:0.14.1'//《Retrofit网络请求依赖》implementation 'com.squareup.retrofit2:retrofit:2.4.0'compile '...
2018-05-03 21:50:40 6374 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人