2 💋

尚未进行身份认证

我要认证

暂无相关简介

等级
TA的排名 62w+

购物

购物子package com.example.democart.adpter;import android.content.Context;import android.support.annotation.NonNull;import android.support.v7.widget.RecyclerView;import android.view.LayoutInflater;...

2019-01-20 12:03:09

自定义view绘制圆点

继承Viewpublic class MyView extends View {private Paint mPaint;//画笔private int circleX;//圆的x轴起始坐标private int circleY;//圆的y轴起始坐标private int mRaduis = 100;//圆半径,pxprivate int mColor = Color.RED;...

2019-01-20 09:10:33

多条目

A dpterpublic class ProAdpter extends XRecyclerView.Adapter<XRecyclerView.ViewHolder>{ private final int TYPE_ONE=0; private final int TYPE_TWO=1; private final int TYPE_THREE=...

2019-01-19 19:34:30

流式布局

流式布局/** * 请输入关键词 */private EditText mSearchName;/** * 搜索 */private Button mSearch;private TagFlowLayout mTaglayout; private List<String> strings; @SuppressLint("HandlerLeak") priva...

2019-01-19 15:08:34

okttp基本封装

> private Handler handler = new Handler() ; private OkHttpClient okHttpClient; private static OkhttpUtils mInstance;//私有属性 private OkhttpUtils() {//私有构造方法 HttpLoggingInter...

2019-01-06 20:57:56

添加头部视图

INfoAdpterr @Override protected void initView(View view) { page=1; lv = view.findViewById(R.id.lv); lv.setMode(PullToRefreshBase.Mode.BOTH); adpter = new Info...

2018-12-20 20:52:06

数据库添加

添加到数据库`private MyActivity myActivity;private int page;private String aurString = “http://www.xieast.com/api/news/news.php?page=”;private PullToRefreshListView pullto;private UserDao userDao;pr...

2018-12-20 16:52:23

Banner

Banner private FlyBanner banner; private String iconApi="http://www.zhaoapi.cn/quarter/getAd"; private List<String> list; @Override protected void initData() { } ...

2018-12-19 15:36:45
勋章 我的勋章
  • 持之以恒
    持之以恒
    授予每个自然月内发布4篇或4篇以上原创或翻译IT博文的用户。不积跬步无以至千里,不积小流无以成江海,程序人生的精彩需要坚持不懈地积累!