Skip to content

Consider open sourcing our wrappers for onbackpresseddispatcher #1007

@rjrjr

Description

@rjrjr

View.backPressedHandler and BackButtonScreen rely on everything being called in the right order across the entire view tree on every update. This is a fragile scheme.

@helios175 has been working on something in house that improves our ability to nest AndroidX back handlers, which would obviate this concern entirely. We should open source it. It fixes this problem, and is more battle tested than View.backPressedHandler.

Metadata

Metadata

Assignees

No one assigned

    Labels

    uiRelated to UI integration

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions