Created
January 17, 2020 13:44
-
-
Save wajahatkarim3/44e3c5cdac14a340cd1bf8a03bad8b24 to your computer and use it in GitHub Desktop.
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
override fun onAttach(context: Context) { | |
super.onAttach(context) | |
(activity as MainActivity).hideBottomNavigation() | |
} | |
override fun onDetach() { | |
(activity as MainActivity).showBottomNavigation() | |
super.onDetach() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment