Skip to content

Use Lifecycle architecture component to clear up async #22

@AkshayChordiya

Description

@AkshayChordiya

Currently we need to cancel all the async on destroying Activity.

override fun onDestroy() { super.onDestroy() async.cancelAll() }

With the new component called Lifecycle (Reference link below) we can skip it and the library can itself take care of it by understanding the lifecycle.

Refer:
Lifecycle Architecture Component

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