compose-focus-navigation
CommunityNavigate TV and D-pad UIs with reliable focus.
Software Engineering#jetpack compose#focus navigation#tv ui#d-pad#keyboard accessibility#focusrequester#compose ui testing
Authorsoygabimoreno
Version1.0.0
Installs0
System Documentation
What problem does it solve?
It helps you build Jetpack Compose screens where keyboard, TV remote, or D-pad navigation consistently selects the right UI element and preserves or restores focus correctly.
Core Features & Use Cases
- Deterministic initial and restored focus using FocusRequester and effects so focus happens after composition and survives refreshes.
- Directional navigation tuning with focusProperties to correct broken spatial navigation without over-constraining the focus graph.
- Safe key handling and focus testing using key event handlers that only consume handled keys, plus compose UI tests that assert focused semantics.
Quick Start
Use FocusRequester with LaunchedEffect to request initial focus after the UI and target item are actually composed, then verify directional navigation and focused item ownership with key-input-based Compose tests.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: compose-focus-navigation Download link: https://github.com/soygabimoreno/Los-ANDROIDES/archive/main.zip#compose-focus-navigation Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.