Don't wanna be here? Send us removal request.
Text
0 notes
Text
事件触发时间远小于事件处理时间时
希望用 onBackpressureLatest 拿到最新的事件,得到最新的结果
结果拿到的永远都不是最新的数据
结果是因�� observeOn 默认有个 128 的buffer,用带buffer size 参数的 observeOn 将 buffer size 设置成 1后 可以拿到接近最新的事件。
0 notes
Text
这个诡异的bug找了好久
build type debug 编译 的 so
在debug 编译的 apk里不 出现
在 release 编译的 apk里 不必现
build type release编译的 so 必现
最后发现没有给某结构体里的指针赋初始值 NULL
所以初始值不为NULL时初始化会被跳过造成异常
0 notes
Text
我用RxAndroidBle
RxAndroidBle 用了 dagger 放在 shadow包里
我用了dagger
结果引用了他shadow包里的 @inject
导致代码没生成,inject不成功
1 note
·
View note