Skip to content
All gists
Back to GitHub
Sign in
Sign up
Sign in
Sign up
{{ message }}
Instantly share code, notes, and snippets.
💻
Tiago Araujo
Tgo1014
💻
I'm a Brazillian developer who loves to program Android apps. I also like to organize events to bring the community together. Working at
@nodesagency
.
12
followers
·
10
following
@monstar-lab-group
Prague, Czech Republic
Twitter
@Tgo1014
View GitHub Profile
Sort:
Recently created
Sort options
Recently created
Least recently created
Recently updated
Least recently updated
All gists
8
Forked
1
Starred
13
Sort:
Recently created
Sort options
Recently created
Least recently created
Recently updated
Least recently updated
3 files
0 forks
0 comments
0 stars
Tgo1014
/
NavigationBottomBarSectionsStateKeeperWorkaround.kt
Created
Jan 26, 2021
— forked from
gotev/NavigationBottomBarSectionsStateKeeperWorkaround.kt
JetPack Bottom Bar Navigation with Sections State
View
NavigationBottomBarSectionsStateKeeperWorkaround.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
package
jetpack.navigation.workaround
import
android.os.Bundle
import
androidx.appcompat.app.AppCompatActivity
import
androidx.lifecycle.LiveData
import
androidx.lifecycle.Observer
import
androidx.navigation.NavController
import
androidx.navigation.ui.setupActionBarWithNavController
import
com.google.android.material.bottomnavigation.BottomNavigationView
import
java.lang.ref.WeakReference
You can’t perform that action at this time.
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.