We can have something like:
Single<Boolean> isBluetoothEnabled()
Single<Boolean> isLocationEnabled(context)
and then create more functional data flow with flatMap without using if statements.
After adding this, there should be also documentation update.
We can have something like:
and then create more functional data flow with
flatMapwithout usingifstatements.After adding this, there should be also documentation update.