O'Reilly logo

Reactive Android Programming by Tadas Subonis

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Utilizing the RxLifecycle library

Disposing of Subscriptions appropriately can quickly become a tedious job. You need to capture variables for the Subscriptions, track them, and dispose them at the correct moment of the lifecycle.

There is an easier way to do this. Trello company has released an awesome library called RxLifecycle (available at https://github.com/trello/RxLifecycle). We will soon see that this library lets developers solve lifecycle management issues by just adding a single line to the Observable flow.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required