Created
September 25, 2017 04:20
-
-
Save ThrowJojo/dbfaf58d22a265246c18d45f8d048288 to your computer and use it in GitHub Desktop.
ReactActivityDelegate example
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
inner class MainActivityDelegate(val activity: Activity, val mainComponentName: String): ReactActivityDelegate(activity, mainComponentName) { | |
override fun onCreate(savedInstanceState: Bundle?) { | |
super.onCreate(savedInstanceState) | |
// Do what you need to do | |
} | |
override fun onNewIntent(intent: Intent?): Boolean { | |
// Do what you need to do | |
return super.onNewIntent(intent) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment