自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 2020-11-19

badboy使用手册

2020-11-19 10:43:53 55

原创 BANNER轮播图+WEBVIEW(MVP+OKHTTP)

1:<com.youth.banner.Banner android:id="@+id/banner" android:layout_width="match_parent" android:layout_height="150dp"> </com.youth.banner.Banner> 2:GlideImageLoader public...

2018-08-23 14:34:21 295

原创 mvp+okhttp+butterKnife+EventBus

1: public class SecondActivity extends AppCompatActivity implements IView{ //注入P层 IPresenter presenter; //适配器 RecyclerAdapter adapter; RecyclerView recyclerView; @Override ...

2018-08-05 21:34:36 178

原创 仿购物车

1:布局 <RelativeLayout 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" andr...

2018-07-28 11:23:30 149

原创 页面传值

public class ThirdActivity extends AppCompatActivity { private Button button; private Banner banner; private TextView info_name; @Override protected void onCreate(Bundle savedInst...

2018-07-28 11:10:57 74

原创 XRecyclerView上拉刷新,下拉加载

1:布局 <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" androi...

2018-07-28 11:00:44 319

原创 TagFlowLayout

1:布局 <com.zhy.view.flowlayout.TagFlowLayout android:id="@+id/tag_flow" android:layout_width="match_parent" android:layout_height="wrap_content" app:max_select="1" android:padd...

2018-07-28 10:41:42 710

原创 选择器

<shape xmlns:android="http://schemas.android.com/apk/res/android"> <padding android:bottom="7dp" android:left="7dp" android:right="7dp" android:top="7dp&

2018-07-27 09:06:35 71

原创 仿京东页面

一:首页布局 <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" andr...

2018-07-26 22:55:09 517

原创 分类(left。right)

1.model层(ITask) public interface ITask { //得到商品列表 void getListData(String url, OkCallback callback); } Task public class Task implements ITask{ @Override public void getListData...

2018-07-22 20:40:11 156

原创 MVP框架请求数据

1:modelICallBackpublic interface ICallBack { void success(RootData data);//请求成功 void failed(String msg);//请求失败 }ICommentBackpublic interface ICommentBack { //得到请求列表 void getCommentList...

2018-07-15 15:56:59 316

原创 自定义view_画圆倒计时

1:布局<com.liqy.zhoukao1.view.CountDownView        android:id="@+id/downText"        android:layout_width="65dp"        android:layout_margin="8dp"        android:layout_alignParentRight="true"      ...

2018-07-08 20:33:03 170

原创 xbanner轮播

1:布局<com.stx.xhb.xbanner.XBanner android:id="@+id/banner" android:layout_width="match_parent" android:layout_height="200.0dip" app:AutoPlayTime="3000" app:pointNormal="@drawable...

2018-07-01 20:51:26 170

原创 频道

1:布局<RelativeLayout    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:la...

2018-06-27 15:45:20 108

原创 动态添加Fragment

if(list.get(position).equals("页面一")){ //加载Fragment_1 /*Intent intent1=new Intent(SecondActivity.this,ThirdActivity.class); startActivity(intent1); showDrawerLayout();*/ //得到事物管理者 ...

2018-06-26 16:34:26 312

原创 侧滑

使用导入依赖库compile 'com.android.support:appcompat-v7:24.2.1'布局文件<?xml version="1.0" encoding="utf-8"?> <android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/an...

2018-06-25 20:22:28 143

原创 pullToRefresh上拉加载下拉刷新

1:布局<com.handmark.pulltorefresh.library.PullToRefreshListView        xmlns:ptr="http://schemas.android.com/apk/res-auto"        android:id="@+id/pull_listView"        android:layout_width="match_pa...

2018-06-24 20:25:52 98

原创 HorizontalScrollView滑动

1:创建布局<RelativeLayout 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" andro...

2018-06-24 19:45:41 204

空空如也

空空如也

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

TA关注的人

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