navigator
navigator copied to clipboard
A small navigation library for Android to ease the use of fragment transactions & handling backstack (also available for Jetpack Compose).
Is it possible to get Navigation arguments from SavedStateHandle in ViewModels like we can do in Navigation Compose library private val lectionName: String = savedStateHandle.get("lectionName")!! private val packName: String =...
is it possible to scope ViewModel to Navigation level currently?
This uses the new experimental `AnimatedContent` API instead of modifying modifiers which is what `navigator-compose` does.
Love your current implementation and was wondering if you had any plans to add support for modal bottom sheets in the compose library?
@KaustubhPatange I am getting this crash on Live App, could you please take a look at this issue Thanks. Exception java.lang.IllegalStateException: Restarter must be created only during owner's initialization stage...
`if (this::navigate.isInitialized) { childFragmentManager.addOnBackStackChangedListener { Timber.e("addOnBackStackChangedListener") val fragment = navigate.getCurrentFragment() ?: return@addOnBackStackChangedListener if (fragment is BaseFragment) { fragment.onFragmentResume() } } }` Im using navigator(inside fragment) to manage my fragments but...
Case: Fragment1 navigateTo() Fragment2 Fragment2 check condition, if data is invalid -> backTo() Fragment1 => crashes It works if I use Handle.postDelay() Fragment 1 Code: onViewCreated() getView()?.findViewById(R.id.text)?.setOnClickListener { getView()?.findViewById(R.id.text)?.text =...