Created
September 10, 2019 11:49
-
-
Save askarsyzdykov/1840802f41c178aea048da7e00515955 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package kz.team.library | |
import android.os.Bundle | |
import androidx.appcompat.app.AppCompatActivity | |
import io.flutter.facade.Flutter | |
class LibraryActivity : AppCompatActivity() { | |
override fun onCreate(savedInstanceState: Bundle?) { | |
super.onCreate(savedInstanceState) | |
val flutterView = Flutter.createView( | |
this, | |
lifecycle, | |
null | |
) | |
setContentView(flutterView) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment