Closed mortezaezzabady closed 6 years ago
What version do you use? In 2.3.0 version this bug was fixed
Modified how public Fragment getCurrentFrag() works. There were previously situations where a fragment had been transacted, and thus was on the stack, but the function was still returning the previous function. This should no longer be the case.
i'm using v2.1.0, i'll update it, thank you:D
hi:)
navController.getCurrentFrag().getClass()
returns previous tab fragment butnavController.getCurrentStack().peek().getClass()
is correct!