RxDatabindings
RxDatabindings copied to clipboard
Why to make param scheduler in extension function .observe() Schedulers.io() by default
If we use extension function observe(), Schedulers.io() will be applied by default.
This means thread will be automatically switched without awareness if we do not go through the source code of this library, which does not make sense.
I suggest two ways below:
- make param
scheduler = nullby default, users will specific it while they wanna a switch. - make
rxDataBindingsSchedulernullable, therefore users have ability to disable scheduler globally.