Skip to content

Instantly share code, notes, and snippets.

@nongdenchet
Created April 9, 2020 00:57
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 nongdenchet/5b52e10d844744eb664a4f43bc10d452 to your computer and use it in GitHub Desktop.
Save nongdenchet/5b52e10d844744eb664a4f43bc10d452 to your computer and use it in GitHub Desktop.
class SplashScreen {
private val featureManager: FeatureManager
private fun startHomeScreen() {
if (featureManager.homeExperiementEnabled) {
startActivity(Intent(this, HomeExperimentScreen::class.java))
} else {
startActivity(Intent(this, HomeScreen::class.java))
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment