- 博客(9)
- 收藏
- 关注
原创 搜索框加数据展示
主界面布局<?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:tools...
2018-10-14 20:42:29 273
原创 仿京东——我的界面(登录注册,上传头像)
我的界面 布局<?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" android:l...
2018-09-24 20:48:45 1429
原创 仿京东——购物车
界面布局<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="matc
2018-09-24 20:25:32 257
原创 动态权限和二维码扫描
添加依赖 implementation 'com.tbruyelle.rxpermissions2:rxpermissions:0.9.3@aar'初始化MyApppublic class MyApp extends Application{ @Override public void onCreate() { super.onCreate(...
2018-09-24 20:12:16 479
原创 仿京东——分类
分类主代码public class TypeFragment extends Fragment implements TypeView { @BindView(R.id.type_Catagory) RecyclerView typeCatagory; @BindView(R.id.type_exl) ExpandableListView typeExl; ...
2018-09-24 19:03:05 774
原创 仿京东 --- 首页
前边有界面滑动和底部导航栏,这个比较简单就不做了。界面用到的图标在网上找吧,这里我就不发了。主界面布局<?xml version="1.0" encoding="utf-8"?><RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_...
2018-09-20 19:24:41 482
原创 base的封装
BaseActivitypublic abstract class BaseActivity<P extends BasePresenter> extends AppCompatActivity { protected P presenter; @Override protected void onCreate(@Nullable Bundle save...
2018-09-19 15:11:37 200
原创 轮播图+展示数据
MainActivity-xml<?xml version="1.0" encoding="utf-8"?><ScrollView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xm...
2018-09-09 18:57:47 958
原创 recycle网格展示数据
MyApppublic class MApp extends Application { @Override public void onCreate() { super.onCreate(); Fresco.initialize(this); }}util-Constantpublic class Constant { ...
2018-09-02 18:49:28 475
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人