自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 小功能

//图片缩放ImageLoader instance = ImageLoader.getInstance();instance.init(ImageLoaderConfiguration.createDefault(Main4Activity.this));//初始化instance.displayImage(img_url,PhotoView);//Glide圆角Glide.with(...

2019-06-03 12:00:28 154

原创 接收EventBus

public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {View view = inflater.inflate(R.layout.even_layout, container, false);E...

2019-05-13 08:05:40 152

原创 发送EventBus

myAdapter.setGetCallBeak(new MyAdapter.GetCallBeak() {@Overridepublic void BackCall(int id) {Toast.makeText(getContext(), “”+id, Toast.LENGTH_SHORT).show();String masterPic = bean.getResult().get(...

2019-05-13 08:04:57 206

原创 接收EventBus

public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {View view = inflater.inflate(R.layout.even_layout, container, false);E...

2019-05-13 08:03:45 382

原创 发送EventBus

myAdapter.setGetCallBeak(new MyAdapter.GetCallBeak() {@Overridepublic void BackCall(int id) {Toast.makeText(getContext(), “”+id, Toast.LENGTH_SHORT).show();String masterPic = bean.getResult().get(...

2019-05-13 08:02:57 111

原创 刷新

2019-05-06 11:46:04 127

原创 登录注册aip

// 注册@POST(Aip.REGISTER_URL)@FormUrlEncodedObservable register(@Field(“phone”) String phone, @Field(“pwd”) String pwd);//登录@POST(Aip.LOGON_URL)@FormUrlEncodedObservable<LoginEnriry> lo...

2019-05-06 11:38:47 625

原创 查询

package com.example.admin.weidushopping.activity;import android.support.v7.app.AppCompatActivity;import android.os.Bundle;import android.support.v7.widget.GridLayoutManager;import android.support....

2019-05-06 11:37:02 112

原创 相册

package com.example.yuekaomonisan;import android.app.AlertDialog;import android.content.Intent;import android.net.Uri;import android.os.Bundle;import android.support.annotation.Nullable;import a...

2019-05-06 11:31:51 118

原创 加减器

package com.example.zxiangmo.view;import android.content.Context;import android.util.AttributeSet;import android.view.LayoutInflater;import android.view.View;import android.widget.EditText;impor...

2019-05-06 11:29:45 205

原创 全选总价新

package com.bw.view.adapter;import android.content.Context;import android.support.annotation.NonNull;import android.support.v7.widget.RecyclerView;import android.view.LayoutInflater;import androi...

2019-05-06 11:29:12 194

原创 Model

package com.example.myapplication.model;import com.example.myapplication.HttpDataLinner;import com.example.myapplication.aip.AipService;import com.example.myapplication.bean.Bean;import com.exampl...

2019-04-22 07:53:59 196

原创 Presenter

package com.example.myapplication.presenter;import com.example.myapplication.HttpDataLinner;import com.example.myapplication.base.BaseIView;import com.example.myapplication.base.BaseModel;import c...

2019-04-22 07:53:27 143

原创 Retrofit

package com.example.myapplication.httpulitmagger;import com.example.myapplication.aip.Aip;import com.example.myapplication.aip.AipService;import com.jakewharton.retrofit2.adapter.rxjava2.RxJava2Cal...

2019-04-22 07:53:03 121

原创 OkHttp

package com.example.myapplication.httpulitmagger;import android.text.TextUtils;import com.example.myapplication.HttpLogger.ALogger;import com.example.myapplication.HttpLogger.HttpLogger;import jav...

2019-04-22 07:52:39 113

原创 Interceptor

package com.example.myapplication.HttpLogger;import java.io.IOException;import okhttp3.Interceptor;import okhttp3.Request;import okhttp3.Response;public class HttpLogger implements Interceptor {...

2019-04-22 07:52:22 124

原创 Logger

package com.example.myapplication.HttpLogger;import android.text.TextUtils;import com.orhanobut.logger.AndroidLogAdapter;import com.orhanobut.logger.Logger;public class LoggerUlit {public static ...

2019-04-22 07:51:57 143

原创 Logger2

package com.example.myapplication.HttpLogger;import android.text.TextUtils;import okhttp3.logging.HttpLoggingInterceptor;public class ALogger implements HttpLoggingInterceptor.Logger {@Overridepu...

2019-04-22 07:51:36 160

原创 BasePresenter

package com.example.myapplication.base;public class BasePresenter {protected BaseIView baseIView;public BasePresenter(BaseIView baseIView) { this.baseIView = baseIView;}public void dettch() ...

2019-04-22 07:51:11 160

原创 BaseIView

package com.example.myapplication.base;public interface BaseIView {void onSuccess(T date);void onFerli(String msg);}

2019-04-22 07:50:49 107

原创 AipService

package com.example.myapplication.aip;import com.example.myapplication.bean.Bean;import io.reactivex.Observable;import retrofit2.http.GET;public interface AipService {@GET(Aip.SHOW_URL)Observabl...

2019-04-22 07:50:24 466

原创 Aip

package com.example.myapplication.aip;import android.widget.BaseAdapter;public interface Aip {String BASE_URL = “http://mobile.bwstudent.com/”;String SHOW_URL = “small/commodity/v1/commodityList”;...

2019-04-22 07:49:54 417

原创 Fresco 内存

package com.example.admin.andoroid;import android.app.Application;import android.os.Environment;import com.facebook.cache.disk.DiskCacheConfig;import com.facebook.common.util.ByteConstants;import...

2019-04-14 22:48:04 187

原创 App

package com.guojunke.greendao;import android.app.Application;import android.content.Context;import android.database.sqlite.SQLiteDatabase;import com.guojunke.greendao.greenDao.DaoMaster;import co...

2019-04-14 21:50:28 140

原创 LoggerUlit

package com.guojunke.greendao;import com.orhanobut.logger.AndroidLogAdapter;import com.orhanobut.logger.FormatStrategy;import com.orhanobut.logger.Logger;import com.orhanobut.logger.PrettyFormatSt...

2019-04-14 21:50:10 110

原创 head

package com.guojunke.greendao;import java.io.IOException;import okhttp3.Interceptor;import okhttp3.Request;import okhttp3.Response;public class HeaderInterceptor implements Interceptor {@Overrid...

2019-04-14 21:49:33 131

原创 请求头

package com.guojunke.greendao.net;import android.os.Handler;import android.os.Message;import android.text.TextUtils;import com.google.gson.Gson;import com.guojunke.greendao.HeaderInterceptor;imp...

2019-04-14 21:49:06 279

原创 判断网络

package com.example.network;import android.content.Context;import android.net.ConnectivityManager;import android.net.NetworkInfo;public class NekWork {public static boolean getContent(Context con...

2019-04-14 21:48:29 85

原创 Grennddao数据库view页面

package com.example.zhoukao;import android.content.Context;import android.net.Network;import android.support.v7.app.AppCompatActivity;import android.os.Bundle;import android.support.v7.widget.Gri...

2019-04-14 21:47:40 126

原创 捕获异常出现异常

package gg.bw.com.wangshu20190404;import android.content.Context;import android.os.Looper;import android.widget.Toast;public class T implements Thread.UncaughtExceptionHandler {Context context;p...

2019-04-07 12:55:47 348

原创 水波线

package gg.bw.com.wangshu20190404;import android.content.Context;import android.graphics.Canvas;import android.graphics.Paint;import android.graphics.Path;import android.util.AttributeSet;import...

2019-04-07 12:55:03 176

原创 获取Checked

viewHodelr.checkBox.setChecked(list.get(i).isFlag());首先在bean类里定义两个boolean类型 每级各一个

2019-04-06 21:36:50 232

原创 全选和总价

package com.example.frag;import android.os.Bundle;import android.os.Handler;import android.support.annotation.NonNull;import android.support.annotation.Nullable;import android.support.v4.app.Frag...

2019-04-06 21:34:25 169

原创 加减器

package com.example.Serview;import android.content.Context;import android.text.TextUtils;import android.util.AttributeSet;import android.view.LayoutInflater;import android.view.View;import andro...

2019-04-06 21:32:07 117

原创 详情activity

package com.example.mvp6;import android.content.Intent;import android.support.v7.app.AppCompatActivity;import android.os.Bundle;import android.view.View;import android.webkit.WebChromeClient;imp...

2019-03-31 21:30:08 1816

原创 搜索

package com.bawei.houlele20190325;import android.os.Handler;import android.support.v7.app.AppCompatActivity;import android.os.Bundle;import android.support.v7.widget.LinearLayoutManager;import an...

2019-03-31 21:22:50 116

原创 流式布局

package com.example.lianxizhoukao;import android.animation.ObjectAnimator;import android.content.Intent;import android.os.Handler;import android.support.v7.app.AppCompatActivity;import android.os...

2019-03-31 21:20:04 80

原创 流式布局ViewGroup

package com.example.lianxizhoukao;import android.content.Context;import android.util.AttributeSet;import android.view.View;import android.view.ViewGroup;import android.widget.LinearLayout;public...

2019-03-31 21:19:54 132

原创 捕获异常

package com.example.mubuhuo;import android.content.Context;import android.util.Log;public class MyUnCatchExceptionHandler implements Thread.UncaughtExceptionHandler {private static MyUnCatchExcept...

2019-03-31 21:19:26 108

转载 二维码

https://blog.csdn.net/weixin_44383916/article/details/88056305

2019-03-31 21:11:57 91

空空如也

空空如也

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

TA关注的人

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