Answer the question
In order to leave comments, you need to log in
Must not be null?
Can't figure out how to hide BottomNavigationView. There is an application in which the switching of tabs (Fragments) is organized using the BottomNavigationView. I need to hide the navigation bar when a button is clicked on one of the fragments to go to the next fragment. I'm trying to do this from a fragment in onViewCreated:
fabCreateDeadline_deadline.setOnClickListener {
bottom_navigation_main.visibility = View.GONE
replaceFragment(CreateDeadlineFragment(), false)
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question