Skip to content

ViewModel life cycle #8

Description

@tehmou

The view model life cycle is missing entirely. Implement something similar as in https://github.com/tehmou/rx-android-architecture

I am starting to lean towards wrapping the properties exposed from the view model with an observable that is able to unsubscribe all subscriptions make to it whenever the view model is destroyed (in other words the fragment that owns it).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions