自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 创建导入SDK(module)

创建导入SDK(module)

2023-03-06 17:45:52 289

原创 RecyclerView瀑布流

 依赖   compile 'com.android.support:recyclerview-v7:25.3.1'    Recyclerview:XML<android.support.v7.widget.RecyclerView android:id="@+id/rv" android:layout_width="match_parent" android:la...

2018-04-12 20:03:50 207

原创 自动轮播

private ImageView iv; private int []ll={R.mipmap.a,R.mipmap.b,R.mipmap.c}; private int i=3; private Handler handler=new Handler(); private Runnable runnable=new Runnable() { ...

2018-04-12 20:02:48 178

原创 上拉刷新下拉加载

依赖 compile 'com.scwang.smartrefresh:SmartRefreshLayout:1.0.3' compile 'com.scwang.smartrefresh:SmartRefreshHeader:1.0.3'XML <com.scwang.smartrefresh.layout.SmartRefreshLayout andr...

2018-04-12 20:02:19 180

原创 缓存解析Fragment点击跳到WebView

依赖 compile 'com.android.support:recyclerview-v7:25.3.1' Recycler compile 'com.squareup.okhttp3:okhttp:3.8.1' <android.support.v7.widget.RecyclerView android:id="@+id/rv" andro...

2018-04-12 19:51:59 357

原创 Recyclery接口回掉传至修改

在适配器设置接口 public interface onlistener{ void itemlistener(int position); } public void setonlistener(onlistener listener){ this.listener=listener; } holder.item...

2018-04-10 13:40:06 164

原创 手动加载List

List:Xml<ListView android:id="@+id/lv" android:layout_width="match_parent" android:layout_height="match_parent"></ListView>创建数据 private void initData() { strings =...

2018-04-09 20:58:26 188

原创 二级列表

private void initData() { fl = new ArrayList<>(); fl.add("北京"); fl.add("陕西"); zl = new ArrayList<>(); zl.add("朝阳"); zl.add("上地"); zl

2018-04-09 20:45:01 245

原创 轮播图

<?xml version="1.0" encoding="utf-8"?><FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http:/

2018-04-09 20:14:24 150

原创 倒计时

   <TextView android:id="@+id/tv" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerInParent="true" android:textS...

2018-04-09 19:34:09 152

原创 Dialog

                new AlertDialog.Builder(Main2Activity.this)                        .setTitle("系统提示")                        .setTitle("是否删除此条数据")                        .setPositiveButton("是", new Dia...

2018-04-09 19:23:34 126

空空如也

空空如也

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

TA关注的人

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