3 丘比特q

尚未进行身份认证

我要认证

暂无相关简介

等级
TA的排名 8w+

recycleview的使用一些优化

List<XiangmuBean> list=new ArrayList<>();XiangmuBean xx=new XiangmuBean("我的二维码", R.mipmap.erweima);XiangmuBean xx2=new XiangmuBean("火热招标",R.mipmap.zhaobiao);XiangmuBean xx3=new XiangmuB...

2018-06-27 18:02:39

电商订单

//总布局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" android:layo

2018-01-19 09:42:31

二级列表展示数据和popwindow联动

//mldh布局ListView android:id="@+id/list_view1" android:layout_width="150dp" android:layout_height="wrap_content" android:background="#999999" android:alpha="0.7">ListView>//整体的一个activity

2018-01-18 20:00:46

viewpaper和frament的使用

Fragmentxiaoguo f1=new Fragmentxiaoguo();Fragmentxiaoguo1 f2=new Fragmentxiaoguo1();Fragmentxiaoguo2 f3=new Fragmentxiaoguo2();flist.add(f1);flist.add(f2);flist.add(f3);FragmentManager fm=getChi

2018-01-18 13:44:41

对observer的封装

public abstract class BaseObserver implements Observer { @Override public void onSubscribe(@NonNull Disposable d) { } @Override public void onNext(@NonNull String s) { onS

2018-01-18 09:31:50

封装retrofit和rxjava1.0的操作

public class Fengzhuang {    public static Fengzhuang instance;    private Retrofit retrofit;    private  ApiRetrofit api;    public ApiRetrofit getApi() {        return api;    }    private  Fengzhua

2018-01-17 19:59:50

购物车后期优化

//总布局ScrollView android:layout_width="match_parent" android:layout_height="match_parent" android:layout_above="@+id/linear_layout" android:layout_toRightOf="@+id/relative_progress"

2018-01-17 19:55:48

上传头像

//布局LinearLayout android:layout_width="match_parent" android:layout_height="match_parent" android:background="@android:color/white" android:orientation="vertical" > TextView

2018-01-17 19:35:44

上传头像的操作的一些工具

//一个工具类public class ImageUtils { /** * Save image to the SD card * * @param photoBitmap * @param photoName * @param path */ public static String savePhoto(Bitmap

2018-01-17 19:32:32

ijkPlayer的播放视频

依赖compile 'com.dou361.ijkplayer:jjdxm-ijkplayer:1.0.5'权限//权限uses-permission android:name="android.permission.INTERNET"/>//读写权限加载本地需使用uses-permission android:name="android.permission.WRITE_EXTER

2018-01-17 18:47:14

详情页面

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

2018-01-14 19:10:02

京东登录

//布局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" android:l

2018-01-14 19:08:04

京东注册

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

2018-01-14 19:06:41

自定义popwindow的下拉

//anim下的文件//pop_dismiss.xml:xml version="1.0" encoding="utf-8"?>set xmlns:android="http://schemas.android.com/apk/res/android"> scale android:fromXScale="1.0" android:toXScale="1.25"

2018-01-11 19:11:09

Fresco的磁盘缓存

public class ImagePipelineConfigUtils { //分配的可用内存 private static final int MAX_HEAP_SIZE = (int) Runtime.getRuntime().maxMemory(); //使用的缓存数量 private static final int MAX_MEMORY_CACHE

2018-01-10 19:48:35

封装retrofit和rxjava

public class Fengzhuang { public static Fengzhuang instance; private Retrofit retrofit; private ApiRetrofit api; public ApiRetrofit getApi() { return api; } priva

2018-01-09 20:18:10

merge合并

public class SetNetUtil { private static int j; public static void setNet(final List list, final Handler handler) { final List observables=new ArrayList<>(); for (int i =

2018-01-09 20:17:29

retrofit和rxjava的封装

public class Fengzhuang { public static Fengzhuang instance; private Retrofit retrofit; private ApiRetrofit api; public ApiRetrofit getApi() { return api; } priv

2018-01-07 18:46:57

ApiRetrofit的接口

public interface ApiRetrofit { /** * Get基本请求,这里从Call改为Observable被观察者 * @param url * @return */ @GET public Observable get(@Url String url); /** * Get请求提交表单

2018-01-07 18:45:52

fresco的xbanner

//是否是xbanner@Override    public RecyclerView.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {        View view;        //根据viewtype来判断        if (viewType == TYPE_PULL_IMAGE) {         

2018-01-02 14:38:56

查看更多

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