<using findNavController.navigate(R.id.action) the...
# stackoverflow
u
using findNavController.navigate(R.id.action) the status bar color changes I have change the status bar color to white, but when i move from mainFragment to billing fragment using findNavController().navigate(R.id.action) then the status bar color changes to colorPrimary which is blue. but when i use FragmentUtils.getParent(this, MainTabUIDelegate::class.java) ?.setCurrentTab(BottomNavBar.TAB_Premium,"") then color remains White. CAN ANYONE TELL ME WHY THE COLOR CHANGES TO colorPimary using findNavController().navigate(R.id.action) statement