Skip to content
This repository has been archived by the owner on Apr 19, 2022. It is now read-only.

Clearing the disposables in onStop #55

Open
wants to merge 1 commit into
base: todo-mvi-rxjava-kotlin
Choose a base branch
from

Conversation

lexkarel
Copy link

@lexkarel lexkarel commented May 5, 2019

No description provided.

@oldergod
Copy link
Owner

oldergod commented May 6, 2019

Why?

@lzayas-chwy
Copy link

Why?

I was reading the issue that was reported and I tried to fix it.

When the fragment becomes visible to the user we will subscribe to the view ViewModel observables and when the fragment is no longer visible to the user we'll clean all the subscriptions because we don't want to render a view state if the fragment isn't visible.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants