Skip to content

Commit

Permalink
Dump API for lifecycle-viewmodel-savedstate
Browse files Browse the repository at this point in the history
  • Loading branch information
terrakok committed Dec 20, 2024
1 parent 98c594a commit 82888b4
Showing 1 changed file with 17 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
public abstract class androidx/lifecycle/AbstractSavedStateViewModelFactory : androidx/lifecycle/ViewModelProvider$Factory {
public fun <init> ()V
public fun <init> (Landroidx/savedstate/SavedStateRegistryOwner;Landroidx/core/bundle/Bundle;)V
public synthetic fun <init> (Landroidx/savedstate/SavedStateRegistryOwner;Landroidx/core/bundle/Bundle;)V
public fun <init> (Landroidx/savedstate/SavedStateRegistryOwner;Landroidx/savedstate/SavedState;)V
protected fun create (Ljava/lang/String;Lkotlin/reflect/KClass;Landroidx/lifecycle/SavedStateHandle;)Landroidx/lifecycle/ViewModel;
public fun create (Lkotlin/reflect/KClass;Landroidx/lifecycle/viewmodel/CreationExtras;)Landroidx/lifecycle/ViewModel;
}
Expand All @@ -11,8 +12,10 @@ public final class androidx/lifecycle/SavedStateHandle {
public fun <init> (Ljava/util/Map;)V
public final fun clearSavedStateProvider (Ljava/lang/String;)V
public final fun contains (Ljava/lang/String;)Z
public static final fun createHandle (Landroidx/core/bundle/Bundle;Landroidx/core/bundle/Bundle;)Landroidx/lifecycle/SavedStateHandle;
public static final synthetic fun createHandle (Landroidx/core/bundle/Bundle;Landroidx/core/bundle/Bundle;)Landroidx/lifecycle/SavedStateHandle;
public static final fun createHandle (Landroidx/savedstate/SavedState;Landroidx/savedstate/SavedState;)Landroidx/lifecycle/SavedStateHandle;
public final fun get (Ljava/lang/String;)Ljava/lang/Object;
public final fun getMutableStateFlow (Ljava/lang/String;Ljava/lang/Object;)Lkotlinx/coroutines/flow/MutableStateFlow;
public final fun getStateFlow (Ljava/lang/String;Ljava/lang/Object;)Lkotlinx/coroutines/flow/StateFlow;
public final fun keys ()Ljava/util/Set;
public final fun remove (Ljava/lang/String;)Ljava/lang/Object;
Expand All @@ -22,7 +25,8 @@ public final class androidx/lifecycle/SavedStateHandle {
}

public final class androidx/lifecycle/SavedStateHandle$Companion {
public final fun createHandle (Landroidx/core/bundle/Bundle;Landroidx/core/bundle/Bundle;)Landroidx/lifecycle/SavedStateHandle;
public final synthetic fun createHandle (Landroidx/core/bundle/Bundle;Landroidx/core/bundle/Bundle;)Landroidx/lifecycle/SavedStateHandle;
public final fun createHandle (Landroidx/savedstate/SavedState;Landroidx/savedstate/SavedState;)Landroidx/lifecycle/SavedStateHandle;
public final fun validateValue (Ljava/lang/Object;)Z
}

Expand All @@ -34,3 +38,13 @@ public final class androidx/lifecycle/SavedStateHandleSupport {
public static final fun enableSavedStateHandles (Landroidx/savedstate/SavedStateRegistryOwner;)V
}

public final class androidx/lifecycle/SavedStateViewModelFactory : androidx/lifecycle/ViewModelProvider$Factory {
public fun <init> ()V
public fun create (Lkotlin/reflect/KClass;Landroidx/lifecycle/viewmodel/CreationExtras;)Landroidx/lifecycle/ViewModel;
}

public final class androidx/lifecycle/serialization/SavedStateHandleDelegatesKt {
public static final fun saved (Landroidx/lifecycle/SavedStateHandle;Ljava/lang/String;Lkotlinx/serialization/KSerializer;Lkotlin/jvm/functions/Function0;)Lkotlin/properties/ReadWriteProperty;
public static final fun saved (Landroidx/lifecycle/SavedStateHandle;Lkotlinx/serialization/KSerializer;Lkotlin/jvm/functions/Function0;)Lkotlin/properties/ReadWriteProperty;
}

0 comments on commit 82888b4

Please sign in to comment.