- 博客(8)
- 收藏
- 关注
原创 单机列表 网络
先导入 compile 'com.squareup.okhttp3:logging-interceptor:3.9.0' compile 'com.squareup.okhttp3:okhttp:3.9.0' compile 'org.greenrobot:eventbus:3.0.0' compile 'com.android.support:recyclerview-v7:26.0.
2017-10-25 19:37:33 1867
原创 购物车 天猫
GoodsInfo 包 package entity; /** * 商品信息 */ public class GoodsInfo { protected String Id; protected String name; protected boolean isChoosed; private String imageUrl; private
2017-10-25 15:27:26 612
原创 SQl 数据库
创建数据库 package com.example.cll.caodisanzhoumoni; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; /** * Created by c
2017-10-25 15:12:52 321
原创 OKHttp
okhttpUtils代码 package com.example.nanshigou.net; import android.content.Context; import android.os.Environment; import android.os.Handler; import android.os.Looper; import android.widget.Toast
2017-10-25 10:47:10 349
原创 自定义View
package com.example.diynsg.widget; import android.content.Context; import android.support.annotation.Nullable; import android.util.AttributeSet; import android.view.LayoutInflater; import and
2017-10-25 08:08:16 232
原创 Recvclerview上拉加载
Activity代码 private String url = "http://tingapi.ting.baidu.com/v1/restserver/ting"; private ImageView mIvTop; /** * haha */ private TextView mTvTitle; /** *
2017-10-25 08:01:33 277
原创 二级列表和全选
compile 'org.greenrobot:eventbus:3.0.0' 主布局代码 package com.example.cll.erjigouwuche; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; import
2017-10-25 07:37:04 415
原创 okhttp登录 注册 请求数据
//登录页面 package com.example.cll.zhoukaomoni2; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.suppo
2017-10-15 19:55:29 1429 2
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人