| // Signature format: 4.0 |
| package androidx.compose.runtime.retain { |
| |
| public final class ForgetfulRetainedValuesStore implements androidx.compose.runtime.retain.RetainedValuesStore { |
| method public Object? getExitedValueOrElse(Object key, Object? defaultValue); |
| method public void onContentEnteredComposition(); |
| method public void onContentExitComposition(); |
| method public void saveExitingValue(Object key, Object? value); |
| field public static final androidx.compose.runtime.retain.ForgetfulRetainedValuesStore INSTANCE; |
| } |
| |
| public final class LocalRetainedValuesStoreKt { |
| method @KotlinOnly @androidx.compose.runtime.Composable public static void LocalRetainedValuesStoreProvider(androidx.compose.runtime.retain.RetainedValuesStore store, kotlin.jvm.functions.Function0<kotlin.Unit> content); |
| method @BytecodeOnly @androidx.compose.runtime.Composable public static void LocalRetainedValuesStoreProvider(androidx.compose.runtime.retain.RetainedValuesStore, kotlin.jvm.functions.Function2<? super androidx.compose.runtime.Composer!,? super java.lang.Integer!,kotlin.Unit!>, androidx.compose.runtime.Composer?, int); |
| method @InaccessibleFromKotlin public static androidx.compose.runtime.ProvidableCompositionLocal<androidx.compose.runtime.retain.RetainedValuesStore> getLocalRetainedValuesStore(); |
| property public static androidx.compose.runtime.ProvidableCompositionLocal<androidx.compose.runtime.retain.RetainedValuesStore> LocalRetainedValuesStore; |
| } |
| |
| public final class ManagedRetainedValuesStore implements androidx.compose.runtime.retain.RetainedValuesStore { |
| ctor public ManagedRetainedValuesStore(); |
| method public void disableRetainingExitedValues(); |
| method public void dispose(); |
| method public void enableRetainingExitedValues(); |
| method public Object? getExitedValueOrElse(Object key, Object? defaultValue); |
| method @InaccessibleFromKotlin public boolean isRetainingExitedValues(); |
| method public void onContentEnteredComposition(); |
| method public void onContentExitComposition(); |
| method public void saveExitingValue(Object key, Object? value); |
| property public boolean isRetainingExitedValues; |
| } |
| |
| public final class ManagedRetainedValuesStoreKt { |
| method @KotlinOnly @androidx.compose.runtime.Composable public static androidx.compose.runtime.retain.ManagedRetainedValuesStore retainManagedRetainedValuesStore(); |
| method @BytecodeOnly @androidx.compose.runtime.Composable public static androidx.compose.runtime.retain.ManagedRetainedValuesStore retainManagedRetainedValuesStore(androidx.compose.runtime.Composer?, int); |
| } |
| |
| public final class RetainKt { |
| method @KotlinOnly @androidx.compose.runtime.Composable public static inline <reified T> T retain(java.lang.Object?... keys, kotlin.jvm.functions.Function0<T> calculation); |
| method @KotlinOnly @androidx.compose.runtime.Composable public static inline <reified T> T retain(kotlin.jvm.functions.Function0<T> calculation); |
| } |
| |
| public interface RetainObserver { |
| method public void onEnteredComposition(); |
| method public void onExitedComposition(); |
| method public void onRetained(); |
| method public void onRetired(); |
| method public void onUnused(); |
| } |
| |
| public final class RetainedEffectKt { |
| method @BytecodeOnly @androidx.compose.runtime.Composable public static void RetainedEffect(Object?, Object?, Object?, kotlin.jvm.functions.Function1<? super androidx.compose.runtime.retain.RetainedEffectScope!,? extends androidx.compose.runtime.retain.RetainedEffectResult!>, androidx.compose.runtime.Composer?, int); |
| method @KotlinOnly @androidx.compose.runtime.Composable @androidx.compose.runtime.NonRestartableComposable public static void RetainedEffect(Object? key1, Object? key2, Object? key3, kotlin.jvm.functions.Function1<androidx.compose.runtime.retain.RetainedEffectScope,androidx.compose.runtime.retain.RetainedEffectResult> effect); |
| method @BytecodeOnly @androidx.compose.runtime.Composable public static void RetainedEffect(Object?, Object?, kotlin.jvm.functions.Function1<? super androidx.compose.runtime.retain.RetainedEffectScope!,? extends androidx.compose.runtime.retain.RetainedEffectResult!>, androidx.compose.runtime.Composer?, int); |
| method @KotlinOnly @androidx.compose.runtime.Composable @androidx.compose.runtime.NonRestartableComposable public static void RetainedEffect(Object? key1, Object? key2, kotlin.jvm.functions.Function1<androidx.compose.runtime.retain.RetainedEffectScope,androidx.compose.runtime.retain.RetainedEffectResult> effect); |
| method @BytecodeOnly @androidx.compose.runtime.Composable public static void RetainedEffect(Object?, kotlin.jvm.functions.Function1<? super androidx.compose.runtime.retain.RetainedEffectScope!,? extends androidx.compose.runtime.retain.RetainedEffectResult!>, androidx.compose.runtime.Composer?, int); |
| method @KotlinOnly @androidx.compose.runtime.Composable @androidx.compose.runtime.NonRestartableComposable public static void RetainedEffect(Object? key1, kotlin.jvm.functions.Function1<androidx.compose.runtime.retain.RetainedEffectScope,androidx.compose.runtime.retain.RetainedEffectResult> effect); |
| method @KotlinOnly @androidx.compose.runtime.Composable @androidx.compose.runtime.NonRestartableComposable public static void RetainedEffect(java.lang.Object?... keys, kotlin.jvm.functions.Function1<androidx.compose.runtime.retain.RetainedEffectScope,androidx.compose.runtime.retain.RetainedEffectResult> effect); |
| method @BytecodeOnly @androidx.compose.runtime.Composable public static void RetainedEffect(Object![], kotlin.jvm.functions.Function1<? super androidx.compose.runtime.retain.RetainedEffectScope!,? extends androidx.compose.runtime.retain.RetainedEffectResult!>, androidx.compose.runtime.Composer?, int); |
| method @BytecodeOnly @Deprecated @androidx.compose.runtime.Composable public static void RetainedEffect(kotlin.jvm.functions.Function1<? super androidx.compose.runtime.retain.RetainedEffectScope!,? extends androidx.compose.runtime.retain.RetainedEffectResult!>, androidx.compose.runtime.Composer?, int); |
| method @KotlinOnly @Deprecated @androidx.compose.runtime.Composable @androidx.compose.runtime.NonRestartableComposable public static void RetainedEffect(kotlin.jvm.functions.Function1<androidx.compose.runtime.retain.RetainedEffectScope,androidx.compose.runtime.retain.RetainedEffectResult> effect); |
| } |
| |
| public interface RetainedEffectResult { |
| method public void retire(); |
| } |
| |
| public final class RetainedEffectScope { |
| ctor public RetainedEffectScope(); |
| method public inline androidx.compose.runtime.retain.RetainedEffectResult onRetire(kotlin.jvm.functions.Function0<kotlin.Unit> onRetiredEffect); |
| } |
| |
| public interface RetainedValuesStore { |
| method public Object? getExitedValueOrElse(Object key, Object? defaultValue); |
| method public void onContentEnteredComposition(); |
| method public void onContentExitComposition(); |
| method public void saveExitingValue(Object key, Object? value); |
| } |
| |
| public final class RetainedValuesStoreRegistry { |
| ctor public RetainedValuesStoreRegistry(); |
| method @KotlinOnly @androidx.compose.runtime.Composable public void LocalRetainedValuesStoreProvider(Object? key, kotlin.jvm.functions.Function0<kotlin.Unit> content); |
| method @BytecodeOnly @androidx.compose.runtime.Composable public void LocalRetainedValuesStoreProvider(Object?, kotlin.jvm.functions.Function2<? super androidx.compose.runtime.Composer!,? super java.lang.Integer!,kotlin.Unit!>, androidx.compose.runtime.Composer?, int); |
| method public void clearChild(Object? key); |
| method public void clearChildren(kotlin.jvm.functions.Function1<java.lang.Object?,java.lang.Boolean> predicate); |
| method public void dispose(); |
| } |
| |
| public final class RetainedValuesStoreRegistryKt { |
| method @KotlinOnly @androidx.compose.runtime.Composable public static androidx.compose.runtime.retain.RetainedValuesStoreRegistry retainRetainedValuesStoreRegistry(); |
| method @BytecodeOnly @androidx.compose.runtime.Composable public static androidx.compose.runtime.retain.RetainedValuesStoreRegistry retainRetainedValuesStoreRegistry(androidx.compose.runtime.Composer?, int); |
| } |
| |
| } |
| |