1
我遇到了RxCompoundButton的問題,只要我訂閱它,它就會發出一個默認值,而這不是我想要的。預期這種行爲?RxCompoundButton發出默認值
RxCompoundButton.checkedChanges(btOneWayFlag)
.debounce(0, TimeUnit.MILLISECONDS, AndroidSchedulers.mainThread())
.subscribe(notifyOneWayChecked);