Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Move listener logic to onStart/onStop #5910

Closed

Description

@tobrun

Android N introduces multiwindow support and to get the correct behaviour we need to move our listener logic from onResume/onPause to onStart/onStop instead. This currently affects the MyLocationView since switching focus between different windows invokes the onResume/onPause lifecycle events. If we don't move the listener logic, the MyLocationView will stop updating the moment the window loses focus.

More information in this Google I/O session.

Activity

  1. added
    Android
    on Aug 9, 2016
  2. added
    SEMVER-MAJOR
    on Aug 9, 2016
  3. self-assigned this
    on Nov 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

AndroidSEMVER-MAJOR

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions