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

原创 okHttp3 Protocol

okHttp3 Protocolpublic enum Protocol { HTTP_1_0("http/1.0"), HTTP_1_1("http/1.1"), SPDY_3("spdy/3.1"), HTTP_2("h2"), H2_PRIOR_KNOWLEDGE("h2_prior_knowledge"), QUIC("quic"); p

2018-10-18 23:15:13 2229

原创 OkHttp3 Proxy

OkHttp3 Proxy每次我看到代理,都感到特激动,因为我也不会;public class Proxy { /** * Represents the proxy type. * * @since 1.5 */ public enum Type { /** * Represents a direct...

2018-10-16 17:40:51 3975

原创 OkHttp3 Dispatcher

OkHttp3 Dispatcher调度器public final class Dispatcher { private int maxRequests = 64; private int maxRequestsPerHost = 5; private @Nullable Runnable idleCallback; /** Executes calls. Created l...

2018-10-16 15:19:38 1143

原创 EventBus 源码解析

EventBus 源码解析看个大图:再来一个:使用起来比较简单EventBus.getDefault().register(Object);EventBus.getDefault().unregister(Object);EventBus.getDefault().post(Object);@Subscribe(threadMode=ThreadMode.MAIN)pub...

2018-10-10 14:38:40 151

原创 EventBus 索引SampleBusIndex

EventBus 索引SampleBusIndex// 加载索引,添加到默认配置的EventBusEventBus.builder().addIndex(new SampleBusIndex()).installDefaultEventBus();/** Adds an index generated by EventBus' annotation preprocessor. */pub...

2018-10-08 14:19:21 317

原创 EventBus 线程调度 threadMode

EventBus 线程调度 threadModeprivate void postToSubscription(Subscription subscription, Object event, boolean isMainThread) { switch (subscription.subscriberMethod.threadMode) { case P...

2018-10-08 12:05:30 547

原创 EventBus 黏性事件的postSticky

EventBus 黏性事件的stickyEvents /** * Posts the given event to the event bus and holds on to the event (because it is sticky). The most recent sticky * event of an event's type is kept in mem...

2018-10-08 10:40:24 679

原创 EventBus 黏性事件的register

EventBus 黏性事件的register跟在普通事件的register后面:// Must be called in synchronized block private void subscribe(Object subscriber, SubscriberMethod subscriberMethod) { ...... if (subscrib...

2018-10-08 09:45:23 193

原创 EventBus 普通事件的unregister

EventBus 普通事件的unregister/** Unregisters the given subscriber from all event classes. */ public synchronized void unregister(Object subscriber) { List<Class<?>> subscribedTypes...

2018-10-05 01:30:03 921

原创 EventBus 普通事件的post

EventBus 普通事件的post当订阅事件完成后,就需要发送时间通知了,调用比较简单EventBus.getDefault().post(eventType);看一下post事件:/** Posts the given event to the event bus. */ public void post(Object event) { PostingThre...

2018-10-05 01:02:06 1233

原创 EventBus 普通事件register

EventBus 普通事件registerpublic void register(Object subscriber) { Class<?> subscriberClass = subscriber.getClass(); List<SubscriberMethod> subscriberMethods = subscriberMetho...

2018-10-04 11:59:25 981

BottomSheetTest.rar

解决软键盘遮挡布局问题,为解决方案讲解提供代码支持。

2018-10-15

MPAndroidChart的样例apk

MPAndroidChart的样例apk,之前自己编译这个项目一直出错,所以现在直接放上去;关于资源分这个,很烦,因为最少就是2分,没有免费的(希望CSDN能给出一个免费的选项),没有分的需要的,可以发个邮箱过来,我私发给你,当然也可以自己去编译构建一下

2018-04-24

阻尼效果的例子

这个是实现阻尼效果的例子,主要实现了两种形式的阻尼效果,一个是橡皮筋拉扯效果,一个是顶部图片放大效果,配合博客学习使用。

2018-01-23

测量流程图

对代码剖析的辅助理解,爱哥在对代码剖析的时候比较细,一旦深入进去了,反而出不来(纯属个人),所以我就画了一个流程图,记录代码走向

2017-11-23

zxing的demo

zxing的demo,为zxing的学习提供方便

2017-01-06

SSH框架整合实战教程----读书笔记(七)源码

SSH框架整合实战教程----读书笔记(七)附带的源码,便于学习

2016-12-13

Java Web程序开发入门--读书笔记(五)

描述的呈现出来的排版不是很好,看起来有点差异性,所以把word附上,增加学习的便利性

2016-12-03

MySQL数据库入门--读书笔记(word版本)

MySQL数据库入门--读书笔记的一到八章的总结,有衔接感,看起来要好一点

2016-11-26

MySQL数据库入门--读书笔记(word)

2016-11-26

空空如也

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

TA关注的人

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