Skip to content

Modules become unresponsive to lifecycle when any activity is destroyed #98

@alechill

Description

@alechill

If an activity that does not own the drawer gets destroyed, DebugDrawerLifecycleCallbacks onActivityDestroyed(Activity activity) de-registers the lifecycle hooks for the drawer and its modules

This manifests in the drawer modules not having their onStart/onStop/onPause/onResume/onOpened/onClosed handler methods being called any longer, even though the drawer is still accessible

All other DebugDrawerLifecycleCallbacks methods check first if the activity that invoked the lifecycle is the owner of the drawer before delegating, this needs to happen here too

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions