Package io.flutter.embedding.android

# Interface FlutterView.FlutterEngineAttachmentListener

Enclosing class:
  `FlutterView`

@VisibleForTesting public static interface FlutterView.FlutterEngineAttachmentListener
Listener that is notified when a `FlutterEngine` is attached to/detached from a given `FlutterView`.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `onFlutterEngineAttachedToFlutterView(FlutterEngine engine)`
  The given `engine` has been attached to the associated `FlutterView`.
  `void`
  `onFlutterEngineDetachedFromFlutterView()`
  A previously attached `FlutterEngine` has been detached from the associated `FlutterView`.

- ## Method Details

  - ### onFlutterEngineAttachedToFlutterView

    void onFlutterEngineAttachedToFlutterView(@NonNull FlutterEngine engine)
    The given `engine` has been attached to the associated `FlutterView`.

  - ### onFlutterEngineDetachedFromFlutterView

    void onFlutterEngineDetachedFromFlutterView()
    A previously attached `FlutterEngine` has been detached from the associated `FlutterView`.