Sign in Go Pro

Android MvRx Fundamentals

Subscribe to State Changes Manually

This lesson is for PRO members.

Upgrade today to get access to all the PRO lessons.

Unlock this lesson

Up next



Sometimes, you need something more specific than just calling invalidate(). MvRx provides three subscription methods to create your own subscriptions:
* subscribe
* selectSubscribe
* asyncSubscribe
When called from a LifecycleOwner, such as a Fragment, these subscriptions will be fully lifecycle-aware out of the box.

This lesson will walk through how to use subscriptions and why they might be useful.




There are no comments on this lesson, start the conversation below ...

You need to go PRO to post comments.

Lessons in Android MvRx Fundamentals