Skip to content

Question - collectAsStateWithLifecycle #711

@JuxBzh

Description

@JuxBzh

This article from Manuel Vivo suggests to use collectAsStateWithLifecycle API instead of standard collectAsState to safely consume flows in Jetpack Compose.
I noticed that extension provided in mvrx-compose module rely on collectAsState. Is it planned to use to collectAsStateWithLifecyle or is there a specific feature in Mavericks implementation that makes it already Lifecycle aware ?

Regards.

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