aurelhubert / aurelhubert/ahbottomnavigation

Don't save the current tab selected

Open
#334 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
3.8k
Forks
672
PR merge metrics
No merged PRs in 30d

Description

I am using the 2.2.0 version of this library and it works all pretty well except one thing. If I click on a button inside a fragment tab and open a new activity, when I return by the back-button in the toolbar the first tab is always selected in the previous activity. How can I restore the selected tab before leaving the activity?

Contributor guide

No contributing guide indexed for this repository

Research direction

No source file or test is named. Reproduce the issue with a fragment tab, an opened activity, and toolbar back navigation, then trace how the selected tab is stored and restored; done means returning to the previous activity selects the tab that was active before leaving.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.