自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(17)
  • 收藏
  • 关注

原创 组合动画跳转

//布局<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:...

2018-12-21 10:49:01 92

原创 购物车(饿了么)

MainActivity/** * @author dingtao * @date 2018/12/18 14:14 * 防饿了么,外卖点餐 */public class ShopCartActivity1 extends AppCompatActivity implements DataCall<List<Shop>> { //声明AM...

2018-12-20 22:32:59 475

原创 购物车一

//总布局<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:t

2018-12-20 16:07:42 113

原创 商品列表线性和网格切换

//MainActivitypublic class MainActivity extends AppCompatActivity implements View.OnClickListener, DataCall<List> ,XRecyclerView.LoadingListener,MyAdapter.MyInterface { private ImageView so...

2018-12-19 09:24:35 493

原创 2级

//布局<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:...

2019-04-07 11:57:56 112

原创 购物车逻辑

购物车逻辑接口回调传idpublic getByid getByid;public void setGetByid(MovieAdapter.getByid getByid) { this.getByid = getByid;}public interface getByid{ void getchunid(int id);}activitypackage com...

2019-04-07 11:30:35 159

原创 一级

//布局<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height=...

2019-04-06 21:25:48 125

原创 MVP契约类

&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layou...

2019-03-07 21:21:07 253

原创 dsd

public class Constant { //轮播接口 //http://172.17.8.100/small/commodity/v1/bannerShow public static final String LUNBO =&quot;http://172.17.8.100/&quot;; //列表接口 public static final String LIST ...

2019-02-26 08:30:12 336

原创 MVP登录

MainActivitypublic class MainActivity extends AppCompatActivity implements View.OnClickListener { @BindView(R.id.mobile) EditText mobile; @BindView(R.id.pwd) EditText pwd; @BindV...

2019-01-20 09:35:35 114

原创 轮播图+Xrecalview

//布局&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"...

2018-12-21 10:58:06 151

原创 登陆跳转

MainActivitypublic class MainActivity extends AppCompatActivity implements View.OnClickListener, DataCall { private EditText mMoblie; private EditText mPassword; private Button mBt; ...

2018-12-09 20:24:50 289

原创 简单登陆

MainActivitypublic class MainActivity extends AppCompatActivity implements View.OnClickListener,DataCall { private EditText mMobile; private EditText mPassword; private Button mBt; p...

2018-12-09 20:17:00 138

原创 简易版二维码

权限&lt;uses-permission android:name="android.permission.CAMERA"/&gt;布局&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-a...

2018-12-03 23:22:44 618

原创 流式布局

activity_main.xml内容&amp;lt;LinearLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot; xmlns:app=&quot;http://schemas.android.com/apk/res-auto&quot; xmlns:tools=&quot;http://schemas.android.com/tool

2018-12-02 19:00:43 126

原创 PullToRefresh

//倒计时跳转public class MainActivity extends AppCompatActivity { private TextView tv; int count=3; Handler handler = new Handler(){ @Override public void handleMessage(Mess...

2018-11-22 14:04:38 234

原创 Service的简介

简介Service是Android的四大组件之一,它是用来进行后台操作的,它并不为用户提供界面,所有的操作都在后台完成,它的所有操作对用户都是不可见的。一旦其他的组件启动了一个Service,它会在后台一直运行,即便是用户切换到了其他的应用中。其他的组件也可以绑定Service进而启动一个Service,甚至可以用它来进行IPC(进程通信,inter process communication)...

2018-11-01 20:53:30 413

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除