Fluid
  • Home
  • Archives
  • Categories
  • Tags
  • About

RxJava01

RxJavaDescribe subscribeOn() 指定上游发送事件的线程, observeOn 指定的是下游接收事件的线程 多次指定上游的线程只有第一次指定的有效,就是subscribeOn()只有第一次有效,其余忽略 可以多次指定下游线程,每调用一次observeOn(),下游的线程就会切换一次 Demo在 AndroidDemo -> RXLeran->RX基础->
2018-03-28
ANDROID
#RxJava

interview-answer

阿里面试题1.android事件分发机制,请详细说下整个流程 事件分发(面试).png 2.android view绘制机制和加载过程,请详细说下整个流程 1.ViewRootImpl会调用performTraversals(),其内部会调用performMeasure()、performLayout、performDraw()。 2.performMeasure()会调用最外层的ViewGro
2018-03-12
#inter

TextView

Width 绘制分析没有其他属性影响的话,宽度应该就是字体的宽度,在横向的recycleview adater中不同的字体会增加间距。 1234android:autoSizeTextType="uniform"android:autoSizeMinTextSize="8sp"android:autoSizeMaxTextSize
2018-03-04
ANDROID

LeakMemory

内存泄漏 https://mp.weixin.qq.com/s/tO1yxFs2qNQlQ2bJ8vGzQA https://www.jianshu.com/p/ac00e370f83d 内存泄漏总结 1234567891011121314151617181920212223242526272829303132333435363738394041424344public
2018-02-09
ANDROID

Hilt

https://developer.android.google.cn/training/dependency-injection Hilt作用 https://www.bilibili.com/video/BV18o4y1S7KH 「社区说」《Hilt-把握住Android依赖项注入的“利器”》 https://www.bilibili.com/video/BV1eM4y1G7aR 码牛 ht
2018-01-23
ANDROID

TEST_Espresso

the difficulty tip is on recycleview ‘s content that not visible in firtpage, which you can search for and find the views that match the non-unique R.id: https://developer.android.com/training/test
2018-01-22
TEST
#Test

TEST-MOCKK

https://mockk.io/ presenter https://www.jianshu.com/p/899e80120071 https://blog.csdn.net/hard_working1/article/details/105613362 https://juejin.cn/post/6877824384694747143 LIST COMPARE123456789101112
2018-01-22
TEST
#Test

Operators

JAVA运算符 赋值运算符&= 按位与赋值运算符  C&= 2等价于C = C&2 | = 按位或赋值操作符 C | = 2等价于C = C | 2 http://www.runoob.com/java/java-operators.html Java位运算符Java定义了位运算符,应用于整数类型(int),长整型(long),短整型(short),字符型
2018-01-07
#Operators

Navigation_Drawer

Drawer使用 业务 123456789101112131415161718192021222324252627282930313233343536373839private void initView() { mPlanetTitles = getResources().getStringArray(R.array.recycle_array); mD
2017-12-27
ANDROID
#Drawer

TAB_VIEWPAGER

https://developer.android.com/reference/com/google/android/material/tabs/TabLayout ViewPagerTabLayout方式 动态 1234TabLayout tabLayout = ...; tabLayout.addTab(tabLayout.newTab().setText("Tab 1"
2017-12-26
ANDROID
#TabLayout
1…1819202122…25

Search

Hexo Fluid