android / android/architecture-samples
Fragment Navigation should be after Modal Drawer Animation is finished
- Dominant language
- Kotlin
- Stars
- 45.8k
- Forks
- 11.9k
- PR merge metrics
- No merged PRs in 30d
Description
When a menu item is selected on the opening Navigation Drawer ( Modal Drawer ), Drawer closure is started with dragging animation to the left. With this, Fragment for selected item is also instantly transacted on the Main-Thread.
That Fragment Transaction disturbs Drawer Closure Animation and gives Bad User Experience.
I want to suggest that the Fragment Navigation should be after Drawer Closure for smooth animation.
Contributor guide
Research direction
Start by locating the Android navigation drawer's menu-item selection handler and the fragment transaction triggered while the drawer is closing. Reproduce the opening drawer flow, then verify that the selected fragment is navigated to only after the drawer closure animation finishes and the animation remains smooth.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100