blob: c84b6bc5859ec01831a1b24a8e1dac9f68cc4759 [file] [log] [blame]
Ian Lake662adba2020-04-28 10:33:19 -07001// Signature format: 3.0
2package androidx.fragment.app {
3
4 public final class FragmentKt {
5 method public static void setFragmentResult(androidx.fragment.app.Fragment, String requestKey, android.os.Bundle? result);
6 method public static void setFragmentResultListener(androidx.fragment.app.Fragment, String requestKey, kotlin.jvm.functions.Function2<? super java.lang.String,? super android.os.Bundle,kotlin.Unit>? listener);
7 }
8
9 public final class FragmentManagerKt {
10 method public static inline void commit(androidx.fragment.app.FragmentManager, boolean allowStateLoss = false, kotlin.jvm.functions.Function1<? super androidx.fragment.app.FragmentTransaction,kotlin.Unit> body);
11 method public static inline void commitNow(androidx.fragment.app.FragmentManager, boolean allowStateLoss = false, kotlin.jvm.functions.Function1<? super androidx.fragment.app.FragmentTransaction,kotlin.Unit> body);
12 method @Deprecated public static inline void transaction(androidx.fragment.app.FragmentManager, boolean now = false, boolean allowStateLoss = false, kotlin.jvm.functions.Function1<? super androidx.fragment.app.FragmentTransaction,kotlin.Unit> body);
13 }
14
15 public final class FragmentResultOwnerKt {
16 method public static void setFragmentResultListener(androidx.fragment.app.FragmentResultOwner, String requestKey, androidx.lifecycle.LifecycleOwner lifecycleOwner, kotlin.jvm.functions.Function2<? super java.lang.String,? super android.os.Bundle,kotlin.Unit>? listener);
17 }
18
19 public final class FragmentTransactionKt {
Louis Pullen-Freilicheb86a042020-04-30 12:35:30 +010020 method public static inline <reified F> androidx.fragment.app.FragmentTransaction! add(androidx.fragment.app.FragmentTransaction, @IdRes int containerViewId, String tag = null, android.os.Bundle? args = null);
21 method public static inline <reified F> androidx.fragment.app.FragmentTransaction! add(androidx.fragment.app.FragmentTransaction, String tag, android.os.Bundle? args = null);
22 method public static inline <reified F> androidx.fragment.app.FragmentTransaction! replace(androidx.fragment.app.FragmentTransaction, @IdRes int containerViewId, String tag = null, android.os.Bundle? args = null);
Ian Lake662adba2020-04-28 10:33:19 -070023 }
24
25 public final class FragmentViewModelLazyKt {
Louis Pullen-Freilicheb86a042020-04-30 12:35:30 +010026 method @MainThread public static inline <reified VM> kotlin.Lazy<? extends VM>! activityViewModels(androidx.fragment.app.Fragment, kotlin.jvm.functions.Function0<? extends androidx.lifecycle.ViewModelProvider.Factory>? factoryProducer = null);
Ian Lake662adba2020-04-28 10:33:19 -070027 method @MainThread public static <VM extends androidx.lifecycle.ViewModel> kotlin.Lazy<VM> createViewModelLazy(androidx.fragment.app.Fragment, kotlin.reflect.KClass<VM> viewModelClass, kotlin.jvm.functions.Function0<? extends androidx.lifecycle.ViewModelStore> storeProducer, kotlin.jvm.functions.Function0<? extends androidx.lifecycle.ViewModelProvider.Factory>? factoryProducer = null);
Louis Pullen-Freilicheb86a042020-04-30 12:35:30 +010028 method @MainThread public static inline <reified VM> kotlin.Lazy<? extends VM>! viewModels(androidx.fragment.app.Fragment, kotlin.jvm.functions.Function0<? extends androidx.lifecycle.ViewModelStoreOwner> ownerProducer = { return this }, kotlin.jvm.functions.Function0<? extends androidx.lifecycle.ViewModelProvider.Factory>? factoryProducer = null);
Ian Lake662adba2020-04-28 10:33:19 -070029 }
30
31 public final class ViewKt {
32 method public static <F extends androidx.fragment.app.Fragment> F findFragment(android.view.View);
33 }
34
35}
36