duangsues.is_a? SaltedFish
60 subscribers
609 photos
6 videos
91 files
562 links
🌶🐔🐟 duangsuse 的日常
尤其喜欢发些奇奇怪怪的东西
和转载别人的东西
Download Telegram
Forwarded from Ghost Flying
Proguard 有规则可以擦除
Forwarded from Yuuta 🎀
说起来.. 有没有人遇到 RxJava Flowable 在 Dispose 之后再次 Subscribe,FlowableOnSubscribe#subscribe 就 not called 的情况呢..

是在 Fragment onCreateView 最后 Subscribe 的(如下),onDestoryView dispose(
Log 显示 onStart 是被调用的(
多谢各位(
Forwarded from Yuuta 🎀
compositeDisposable.add(Flowable.create(this, BackpressureStrategy.BUFFER)
.subscribeOn(Schedulers.computation())
.observeOn(AndroidSchedulers.mainThread())
.subscribeWith(new ResourceSubscriber<...>() {
protected void onStart() {
Logger.d(TAG, "onStart called");
super.onStart();
}
public void onNext(...) {
// Eat
request(1);
}
public void onError(Throwable throwable) {
}
public void onComplete() {
}
}));
Forwarded from Hinnka Zhou
有点不太理解这段代码,什么情况下泛型会被擦除,什么情况不会?
Forwarded from BinaryTree
你这用 constraintlayout 不应该挺容易的么
Forwarded from BinaryTree
直接改 costrains set
Forwarded from AAA
老项目,n个XML,很多都不是constrainlayout,搞了个办法,没改xml实现了
Forwarded from AAA
Forwarded from Deleted Account
Forwarded from Deleted Account
请问各位,C编译的myloop这个服务,为啥写在init.rc里面, 系统启动后无法加载
Forwarded from Deleted Account
myloop这个程序非常简单,就是打开了已经thread,在thread中每3秒写一个log到logcat,所以理论上应该没用权限问题
Forwarded from Rikka
但是权限问题是首先要考虑的
Forwarded from Rikka
看一下有没有 avc: 的 log 吗
Forwarded from Deleted Account
理论上如果存在selinux的问题,单独执行此应用也会有吧?
Forwarded from Deleted Account
Forwarded from Deleted Account
这个是avc中和init相关的
Forwarded from Deleted Account
Forwarded from Deleted Account
程序执行后,也没用avc的警告
Forwarded from Rikka
单独跑跟 init 里面又不是一同个 context..(
Forwarded from Deleted Account
这个倒是简单,在init。rc里面加一行,给myloop一个selinux的label
Forwarded from Deleted Account
果然是selinux的问题,添加后解决了