
电商项目实战
无可能
这个作者很懒,什么都没留下…
展开
-
关于仿京东商城购物车模块
工具类 Retrofit private static final long CONNECTTIMEOUT = 10; private static final long WRITETIMEOUT = 10; private static final long READTIMEOUT = 10; private static final Interceptor...转载 2018-11-18 20:46:38 · 721 阅读 · 0 评论 -
封装的base类
封装的base类 BaseActivity public abstract class BaseActivity<P extends BasePresenter> extends AppCompatActivity { protected P presenter; @Override protected void onCreate(@Nullable ...原创 2018-11-18 20:57:10 · 338 阅读 · 0 评论 -
加入购物车
首先是布局文件 <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:fresco="http://schemas.android.com/apk/res-auto" andr...转载 2018-11-18 21:08:16 · 254 阅读 · 0 评论 -
购物车
首先布局文件 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_hei...转载 2018-11-18 21:13:06 · 117 阅读 · 0 评论 -
现阶段常用的几个常用的依赖
//retrofit implementation 'com.squareup.retrofit2:retrofit:2.4.0' implementation 'com.squareup.retrofit2:converter-gson:2.0.2' implementation 'com.squareup.retrofit2:adapter-rxjava2:2...原创 2018-11-18 21:29:36 · 183 阅读 · 0 评论 -
上传头像 + 日期选择器
布局文件 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:fresco="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:lay...原创 2018-11-22 19:44:32 · 134 阅读 · 0 评论 -
登录注册
登录布局 <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="转载 2018-11-22 19:50:30 · 163 阅读 · 0 评论