public class HiddenLifecycleReference extends Object
Object
that can be used to obtain a Lifecycle
reference.
DO NOT USE THIS CLASS IN AN APP OR A PLUGIN.
This class is used by the flutter_android_lifecycle package to provide access to a
Lifecycle
in a way that makes it easier for Flutter and the Flutter plugin ecosystem to
handle breaking changes in Lifecycle libraries.
Constructor and Description |
---|
HiddenLifecycleReference(android.arch.lifecycle.Lifecycle lifecycle) |
Modifier and Type | Method and Description |
---|---|
android.arch.lifecycle.Lifecycle |
getLifecycle() |
public HiddenLifecycleReference(@NonNull android.arch.lifecycle.Lifecycle lifecycle)
@NonNull public android.arch.lifecycle.Lifecycle getLifecycle()