Thursday, 8 October 2020

How to return my native android activity from flutter PlatformView (Android kotlin side)

How to return my native android activity from flutter PlatformView (Android kotlin side) here is my platformView class:

class FlutterView internal constructor(context: Context?)
        : PlatformView {
    
        @Override
        override fun getView(): View {
            return  // here i need to return my activity view
        }
    
        @Override
        override fun dispose() {
    
        }
    }


from How to return my native android activity from flutter PlatformView (Android kotlin side)

No comments:

Post a Comment