Interface PluginRegistry.ViewDestroyListener

  • All Known Implementing Classes:
    FlutterPluginRegistry
    Enclosing interface:
    PluginRegistry

    @Deprecated
    public static interface PluginRegistry.ViewDestroyListener
    Deprecated.
    See https://flutter.cn/go/android-project-migration for migration details.
    Delegate interface for handling an Activity's onDestroy method being called. A plugin that implements this interface can adopt the FlutterNativeView by retaining a reference and returning true.
    • Method Detail

      • onViewDestroy

        boolean onViewDestroy​(@NonNull
                              FlutterNativeView view)
        Deprecated.