activity View Model
inline fun <T : Fragment, MavericksView, VM : MavericksViewModel<S>, S : MavericksState> T.activityViewModel(viewModelClass: KClass<VM> = VM::class, noinline keyFactory: () -> String = { viewModelClass.java.name }): MavericksDelegateProvider<T, VM>
Content copied to clipboard
fragmentViewModel except scoped to the current Activity. Use this to share state between different Fragments.