android / android/snippets

Missing Row Layout in Example for NavigationRail

Open Beginner friendly
#760 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
1.1k
Forks
419
Avg merge
3d 18h
Merged PRs (30d)
28

Description

https://github.com/android/snippets/blob/24217733349a11ecfda799e6d60279812773f95f/compose/snippets/src/main/java/com/example/compose/snippets/components/Navigation.kt#L153-L180

This current example is not visible because it doesn't put the navigation rail in a row layout with it's navhost.

Contributor guide

Open the contributing guide

Research direction

Open compose/snippets/src/main/java/com/example/compose/snippets/components/Navigation.kt at lines 153-180 and inspect the NavigationRail example. Confirm how the rail and NavHost are currently composed, then make the example visible by placing them in the required row layout. Done means the NavigationRail sample displays correctly with its NavHost.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
mobile
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.