Created
March 28, 2018 19:41
-
-
Save adrianhall/852cbca59292188110db5c12774fac10 to your computer and use it in GitHub Desktop.
onResume() method for a SplashActivity
This file contains hidden or 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
override fun onResume() { | |
super.onResume() | |
thread(start = true) { | |
// Initialize the AWS Provider | |
AWSProvider.initialize(this@SplashActivity) | |
// Any other library initializations go here | |
// Transition to the next activity | |
startActivity(Intent(this@SplashActivity, ItemListActivity::class.java)) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment