class BuildConfigclass BuildConfig |
|
class DefaultNavigationViewModelDelegateFactory : NavigationViewModelDelegateFactory, ViewModelDelegateFactory |
|
class MavericksNavDirections : NavDirections
MavericksNavDirections.create must be used to pick between a Parcelable or Serializable data argument. |
|
class navigationLifecycleAwareLazy<out T> : Lazy<T>, Serializable
This was copied from SynchronizedLazyImpl but modified to automatically initialize in ON_CREATE. |
|
interface NavigationViewModelDelegateFactory : ViewModelDelegateFactory |
class IllegalNavigationStateException : IllegalStateException |
fun <T, VM : MavericksViewModel<S>, S : MavericksState> T.navGraphViewModel(: Int, : KClass<VM> = VM::class, : () -> String = { viewModelClass.java.name }): MavericksDelegateProvider<T, VM> where T : Fragment, T : MavericksView
Gets or creates a ViewModel scoped to a navigation graph ID. IllegalArgumentException if the navGraphId destination is not on the back stack. IllegalStateException if the ViewModel is accessed before onViewCreated and there was a re-configuration or launch after process death |