Status Update
Comments
id...@gmail.com <id...@gmail.com> #2
This is probably happening because there are multiple instances of DataStore active. You should consider managing the DataStore as a singleton. See the attached bug for more info.
il...@google.com <il...@google.com> #3
You're using
val host = childFragmentManager.findFragmentById(R.id.homeNavHost) as NavHostFragment? ?: return
Which is returning because the NavHostFragment hasn't been added yet due tohttps://issuetracker.google.com/issues/142520327- this should be fixed when that bug is fixed.
val host = childFragmentManager.findFragmentById(R.id.homeNavHost) as NavHostFragment? ?: return
Which is returning because the NavHostFragment hasn't been added yet due to
Description
Version used: 1.2.0-beta02
Devices/Android versions reproduced on: Emulator Q(29) & O(27), Redmi 4X P(28).
Toolbar menu doesn't appear when working with Navigation (NavHostFragment) but work fine using <fragment>. Also Android Studio can't detect layout reference for navigation graph.
Screenshot and project example attached.