- 博客(10)
- 收藏
- 关注
转载 登录注册
登录布局<?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
160
原创 上传头像 + 日期选择器
布局文件<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
131
原创 现阶段常用的几个常用的依赖
//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
180
转载 购物车
首先布局文件<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
116
转载 加入购物车
首先是布局文件<?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
243
原创 封装的base类
封装的base类BaseActivitypublic abstract class BaseActivity<P extends BasePresenter> extends AppCompatActivity { protected P presenter; @Override protected void onCreate(@Nullable ...
2018-11-18 20:57:10
336
转载 关于仿京东商城购物车模块
工具类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
712
转载 Android 自定义流式布局(快速实现)
首先先写一个自定义的类继承viewgroup,代码如下package com.demo.com.jd_zhang.ui.customview;import android.content.Context;import android.util.AttributeSet;import android.util.Log;import android.view.View;import ...
2018-10-24 09:47:24
1269
2
原创 底部按钮
fragment布局<?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="m
2018-05-04 08:23:13
396
原创 引导页面
activity_main<?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-auto" xmln...
2018-05-04 08:17:19
167
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人