blob: 31397726dceae10a9deb2b19422a4cc9d39cf59c [file] [log] [blame]
// Signature format: 4.0
package androidx.lifecycle.viewmodel.testing {
public final class DefaultCreationExtrasKt {
method public static androidx.lifecycle.viewmodel.CreationExtras DefaultCreationExtras();
method public static androidx.lifecycle.viewmodel.CreationExtras DefaultCreationExtras(android.os.Bundle defaultArgs);
}
public final class ViewModelScenario<VM extends androidx.lifecycle.ViewModel> implements java.lang.AutoCloseable {
method public void close();
method public VM getViewModel();
method public void recreate();
property public VM viewModel;
}
public final class ViewModelScenarioKt {
method @KotlinOnly public static inline <reified VM extends androidx.lifecycle.ViewModel> androidx.lifecycle.viewmodel.testing.ViewModelScenario<VM> viewModelScenario(optional androidx.lifecycle.viewmodel.CreationExtras creationExtras, kotlin.jvm.functions.Function1<androidx.lifecycle.viewmodel.CreationExtras,VM> initializer);
method @KotlinOnly public static inline <reified VM extends androidx.lifecycle.ViewModel> androidx.lifecycle.viewmodel.testing.ViewModelScenario<VM> viewModelScenario(androidx.lifecycle.ViewModelProvider.Factory factory, optional androidx.lifecycle.viewmodel.CreationExtras creationExtras);
}
}