Skip to content

ViewModel life cycle #8

@tehmou

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).

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions