- 博客(14)
- 收藏
- 关注
原创 contons
package com.bwie.yuekao.common; public class Contonts { public static final String GETCARTS = "http://www.zhaoapi.cn/product/getCarts";//获取购物车 public static final String CREATE_ORDER = "h...
2018-08-25 00:05:45
412
原创 //主要布局
//CartActivity.xml <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-aut...
2018-08-24 23:55:31
149
原创 MVP工具类
//Cartmodel package com.bwie.yuekao.model; import android.os.Handler; import android.text.TextUtils; import android.util.Log; import com.bwie.yuekao.bean.CartBean; import com.bwie.yuekao.utils.OkHt...
2018-08-24 20:35:47
326
原创 XRecyclerView适配器
//CartAdapter package com.bwie.yuekao.adapter; import android.content.Context; import android.support.annotation.NonNull; import android.support.v7.widget.LinearLayoutManager; import android.support...
2018-08-24 20:28:52
405
原创 主页面
//CartActivity.xml <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-aut...
2018-08-24 20:27:22
202
原创 OKhttp工具类
package com.bwie.yuekao.utils; import android.util.Log; import java.io.IOException; import java.util.HashMap; import java.util.Map; import java.util.concurrent.TimeUnit; import okhttp3.Call; ...
2018-08-24 20:23:09
540
原创 简单布局
//jia_jian_bg.xml <?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle"> <solid android:color=
2018-08-24 19:30:41
140
原创 简单实现购物车以及流式布局
//导包 implementation 'com.jcodecraeer:xrecyclerview:1.3.2' implementation 'com.squareup.okhttp3:okhttp:3.2.0' implementation 'com.squareup.okhttp3:logging-interceptor:3.11.0' implement...
2018-08-24 19:21:13
296
原创 属性动画
Activity <?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:too...
2018-08-19 19:36:11
102
原创 MVP
//布局 //activity_login <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:...
2018-08-12 19:45:22
188
原创 pulltorefrsh布局
//写到第二个fragment里 <?xml version="1.0" encoding="utf-8"?> <LinearLayout android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"
2018-07-29 21:00:09
140
原创 动画
主页面: <?xml version="1.0" encoding="utf-8"?> <android.support.v4.widget.DrawerLayout android:layout_width="match_parent" android:layout_height="match_parent" xmlns:android="http
2018-07-29 14:16:31
231
原创 轮播
Gson package com.example.zklx4.myadapter; import android.content.Context; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.ImageView...
2018-07-22 23:23:30
168
原创 今日头条
Mainxml: <?xml version="1.0" encoding="utf-8"?> <android.support.v4.widget.DrawerLayout android:layout_width="match_parent" android:layout_height="match_parent" xmlns:android="
2018-07-22 23:17:20
229
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人