Skip to content

OperatorObserveFromAndroidComponent to support Fragment.isVisible() #899

Closed
@tehmou

Description

@tehmou

I have a use case on Android in which I would want a fragment to stop updating its data while it's hidden. It would seem natural to add a support for this in OperatorObserveFromAndroidComponent. Maybe there could be a switch for whether the observable should be inactive only when the fragment is not added or also when it's hidden?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions