Skip to content

Commit eb569b6

Browse files
committed
PlatformViews support
1 parent 4e04f1f commit eb569b6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

android/src/main/kotlin/qiuxiang/android_window/AndroidWindow.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ class AndroidWindow(
4848
)
4949

5050
fun open() {
51+
engine.platformViewsController.attach(inflater.context, engine.renderer, engine.dartExecutor)
5152
val floatingApi = AndroidWindowApi(this)
5253
Pigeon.AndroidWindowApi.setup(engine.dartExecutor.binaryMessenger, floatingApi)
5354
layoutParams.gravity = Gravity.START or Gravity.TOP

0 commit comments

Comments
 (0)