自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 Retrofit简易封装工具类

public class RetroftManger { private final Retrofit retrofit; public static RetroftManger Buid(){ return new RetroftManger(); } public RetroftManger() { HttpLoggingInt...

2018-12-20 20:00:31 209

原创 简单实现使用fresco头像上传及相机裁剪+动态权限

先设置权限 <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.CAMERA"/> <uses-permission android:name="android.permissio...

2018-12-20 14:45:57 257

原创 EventBus+FragMent创建页面

在MainActivity中写入以下方法并调用 可以实现fragment的创建 注册和销毁 @Override protected void onDestroy() { super.onDestroy(); EventBus.getDefault().unregister(this); } @Override protected void onCreate(Bundle save...

2018-12-18 13:48:34 176

原创 方便初学者的购物车RecyclerView的布局(美观)

外包装 <?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="match_p

2018-11-22 15:09:25 351

原创 针对于RecyclerView嵌套RecyclerView的购物车功能实现(加减自定义视图,选中改变思想)

自定义加减视图 public class AddDelView extends LinearLayout { private OnNumChangedListener onNumChangedListener; private View rootView; private ImageView iv_add; private ImageView iv_del; ...

2018-11-22 14:47:00 634

原创 RecyclerView的实现(小白进阶路 “单条目,单视图”)

Impl (build.gradle文件) implementation 'com.android.support:recyclerview-v7:28.0.0' 布局基础(显示视图.xml) <android.support.v7.widget.RecyclerView android:layout_width="match_parent" an...

2018-11-13 15:15:47 159

空空如也

空空如也

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

TA关注的人

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