自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 使用MVP做一个登录注册

首先第一步先导入依赖implementation files('libs/gson-2.3.1.jar')compile 'com.squareup.okhttp3:okhttp:3.3.0'compile 'com.github.bumptech.glide:glide:3.7.0'compile 'com.android.support:recyclerview-v7:26.0.

2018-05-09 14:11:03 310

原创 仿京东购物车+订单

权限uses-permission android:name="android.permission.INTERNET"/>uses-permission android:name="android.permission.WRITE_CALENDAR"/>uses-permission android:name="android.permission.READ_CALENDAR"/>依赖com

2018-01-15 09:39:12 1134

原创 QQ第三方登录

现在的第三方登录很普遍如QQ,微博,微信,今天我们就来实现如何接入QQ登录到我们的项目中 要想使用QQ登录我们需要到腾讯开放平台注册账号获取开发者资格地址:http://open.qq.com/ 注册完成后点击我们右上角的管理中心  然后选择Android平台就会获取APPID和APPKEY创建完成后我们需要到http://wiki.open.qq.com/wiki/mob

2018-01-05 16:50:17 236

原创 自定义View轮播图

1.     运用自定义组合控件实现轮播图效果,必须自定义实现;2.     调用如下接口地址,解析轮播图数据,展示到页面上;3.     实现自动轮播和手动滑动切换;4.     页面底部指示器小圆点的绘制。5.     按type类型判断,如果type为0则跳转到详情页(详情页返回字段:url),如果type为1则toast提示“我要跳转到商品详情页”XML   l

2018-01-02 19:23:09 268

原创 实现跟随手指移动的小球

private Paint mPaint;private int cx = 200;private int cy = 200;public CustomCircleView(Context context) { super(context);}public CustomCircleView(Context context, AttributeSet attrs) {

2017-12-27 20:01:29 247

翻译 PullToRefreshListView多条目加载上拉刷新下拉加载

XML布局主页面main布局com.handmark.pulltorefresh.library.PullToRefreshListView android:layout_width="match_parent" android:layout_height="match_parent" android:id="@+id/pull" >com.handm

2017-11-08 18:54:31 457

翻译 使用HttpURLConnection访问网络接口,展示列表数据

xml文件main布局com.handmark.pulltorefresh.library.PullToRefreshListView android:id="@+id/pull_refresh_list" android:layout_width="match_parent" android:layout_height="match_parent"

2017-11-01 09:28:37 451

空空如也

空空如也

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

TA关注的人

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