Skip to content

Commit

Permalink
🫡 Add Navigate To Home From Dept (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
moondev03 authored Sep 25, 2024
1 parent dd5ebd3 commit 688dfa3
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,15 @@ class HomeActivity : BaseActivity<ActivityHomeBinding>() {
}
}

binding.bottomNavigation.setOnItemReselectedListener { }
binding.bottomNavigation.setOnItemReselectedListener { item ->
when (item.itemId) {
R.id.navigation_home -> {
replaceFragment(R.id.fl_home, HomeFragment(), false)
}

else -> {}
}
}
}

fun hideBottomNavigation() {
Expand Down

0 comments on commit 688dfa3

Please sign in to comment.