Skip to content

Stages of the Activity Lifecycle: Android Basics with Compose #29

@peterMonteer

Description

@peterMonteer

In which task and step of the codelab can this issue be found?
4. Explore lifecycle use cases

Describe the problem
Following the steps to move the app to the background ( being it by pressing the back button or the home button ) is triggering the onDestroy callback. Tested on 2 fresh emulators with enough memory.

Steps to reproduce?

  1. Start the app on an AS emulator
  2. Follow the steps to move the app to the background
  3. See that onDestroy is called

Versions
Android Studio version: Iguana
API version of the emulator: 34 and 28

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