JoaoMotondon/RxJavaDemoApp

Suggestion

Opened this issue · 1 comments

sasa0 commented

The sample app is cool. I am wondering why there are some unnecessary stuff, for ex:
if (subscription == null || (subscription != null && subscription.isUnsubscribed())){...}
Logically, you don't need this part: subscription != null &&

Thanks.

.map((item) -> randomItems ? (new Random().nextInt(20 - 0) + 0) : item )