Class HiddenLifecycleReference


  • public class HiddenLifecycleReference
    extends Object
    An 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 Detail

      • HiddenLifecycleReference

        public HiddenLifecycleReference​(@NonNull
                                        androidx.lifecycle.Lifecycle lifecycle)
    • Method Detail

      • getLifecycle

        @NonNull
        public androidx.lifecycle.Lifecycle getLifecycle()