Skip to content

Commit

Permalink
Upgrade to Navigation 1.0.0-alpha08
Browse files Browse the repository at this point in the history
  • Loading branch information
ianhanniballake committed Dec 9, 2018
1 parent c58a468 commit 1a18975
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Expand Up @@ -34,7 +34,7 @@ buildscript {
lifecycleVersion = "2.0.0"
roomVersion = "2.0.0"
pagingVersion = "2.0.0"
navigationVersion = "1.0.0-alpha07"
navigationVersion = "1.0.0-alpha08"
workManagerVersion = "1.0.0-alpha12"
playServicesWearableVersion = "16.0.1"
firebaseCoreVersion = "16.0.6"
Expand Down
Expand Up @@ -54,7 +54,7 @@ class MainFragment : Fragment(), ChooseProviderFragment.Callbacks {
// Set up the bottom nav
bottomNavigationView = view.findViewById(R.id.bottom_nav)
bottomNavigationView.setupWithNavController(navController)
navController.addOnNavigatedListener { _, destination ->
navController.addOnDestinationChangedListener { _, destination, _ ->
when (destination.id) {
R.id.main_art_details -> {
FirebaseAnalytics.getInstance(requireContext())
Expand Down

0 comments on commit 1a18975

Please sign in to comment.