Skip to content

Instantly share code, notes, and snippets.

@SeongUgJung
Created August 29, 2018 16:06
Show Gist options
  • Save SeongUgJung/293868014642ec8467aedb169539fe0c to your computer and use it in GitHub Desktop.
Save SeongUgJung/293868014642ec8467aedb169539fe0c to your computer and use it in GitHub Desktop.
class SecondAppStarterUsecase(private val context: Context) {
fun showSecond(index : Int) {
context.startActivity(Intent().apply { putExtra("INDEX",index) })
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment