自定义博客皮肤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)
  • 收藏
  • 关注

原创 ViewPager无限轮播图

一、布局<FrameLayout android:layout_width="match_parent" android:layout_height="wrap_content"> <android.support.v4.view.ViewPager android:layout_width="match_parent"...

2018-03-29 19:45:26 111

原创 HorizontalScrollView横向滑动菜单

一、布局<HorizontalScrollView android:layout_width="match_parent" android:layout_height="wrap_content" android:id="@+id/hsv"> <LinearLayout android:layout_width="match_pa...

2018-03-29 19:45:09 208

原创 多条目

public class MyAdapter extends BaseAdapter { private final DisplayImageOptions options; private List<RequestData.NewslistBean> newslist; private Context context; private int one=...

2018-03-29 19:44:38 81

原创 获取网络数据

private Handler handler = new Handler(){ @Override public void handleMessage(Message msg) { List<RequestData.NewslistBean> newslist= (List<RequestData.NewslistBean>) msg.ob...

2018-03-29 19:44:06 199

原创 封装网络获取数据

一、自定义MyTaskpublic class MyTask extends AsyncTask<String,Void,String> { private IcallBack icallBack; public MyTask(IcallBack icallBack) { this.icallBack = icallBack; } ...

2018-03-29 19:43:51 136

原创 TabLayout横向滑动菜单

首先添加依赖implementation 'com.android.support:design:27.1.0'<android.support.design.widget.TabLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:id="@+i...

2018-03-29 19:43:37 559 1

原创 PullToRefreshListView上下拉刷新

首先添加依赖compile 'com.github.userswlwork:pull-to-refresh:1.0.0'public class Fragment01 extends Fragment { private PullToRefreshListView plv; private List<RequestData.NewslistBean> data = n...

2018-03-29 19:43:20 112

原创 Universal-Image-Loader加载图片

public class MyApp extends Application { @Override public void onCreate() { super.onCreate(); File cachefile = new File(Environment.getExternalStorageDirectory().getPath()+"/id...

2018-03-29 19:42:58 110

原创 添加 删除 排序

<body ng-app="myapp" ng-controller="mycon"> <button ng-click="isShow=!isShow">新增订单</button> <button ng-click="delmore()">批量删除</button> <

2018-03-29 19:42:17 277

原创 总价 删除

<body ng-app="myapp" ng-controller="mycon"> <div class="d1"> <h1>我的购物车详情</h1> <input type="text" placeholder="根据名称查询" id="sname"

2018-03-29 19:41:44 163

原创 判断网络

public class NetUtils { public static Boolean isConnt(Context context){ Boolean result=true; ConnectivityManager manager = (ConnectivityManager) context.getSystemService(Context.C...

2018-03-05 16:36:02 99

空空如也

空空如也

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

TA关注的人

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