Skip to content

Android: Better implementation of on back button pressed #1083

@teusbenschop

Description

@teusbenschop

Currently it uses override fun onBackPressed() for handling on back pressed.

It is recommended to upgrade the handling of that.

https://developer.android.com/guide/navigation/custom-back

https://stackoverflow.com/questions/75462234/proper-usage-of-onbackpresseddispatcher

Best could be to keep the current way for older Android versions, and implement the newer version for newer Androids.

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