Wednesday 20 September 2017

RxLifecycle

Rx binding of stock Android Activities & Fragment Lifecycle, avoiding memory leak.

You can dispose an Rx operation when the activity state changes.

Or pause an Rx chain until it's not on an event, for example wait for activity to be resumed to perform an animation.



from The Android Arsenal

No comments:

Post a Comment