android / android/tv-samples

BackHandler in DashboardScreen

Open
#191 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
1.3k
Forks
396
PR merge metrics
No merged PRs in 30d

Description

Why can't we use a standard BackHandler {} in the DashboardScreen instead of the hacky "BackPressHandledArea" where you catch the Key.back in the onPreviewKeyEvent ?

Is it a compose issue ?

Contributor guide

Open the contributing guide

Research direction

Start with DashboardScreen and the existing BackPressHandledArea, onPreviewKeyEvent, and Key.back handling. Compare that behavior with the standard BackHandler API and determine whether Compose or Android TV input handling explains the difference. Done means documenting the reason and defining a justified replacement scope.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.