Skip to content

Instantly share code, notes, and snippets.

@askarsyzdykov
Created September 10, 2019 11:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save askarsyzdykov/1840802f41c178aea048da7e00515955 to your computer and use it in GitHub Desktop.
Save askarsyzdykov/1840802f41c178aea048da7e00515955 to your computer and use it in GitHub Desktop.
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