Created
July 31, 2017 18:54
-
-
Save ravidsrk/a1420df5bb5533c2cf99d6064e8c266f to your computer and use it in GitHub Desktop.
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
class DetailActivity : BaseActivity(), DetailMvpView, ErrorView.ErrorListener { | |
companion object { | |
val EXTRA_POKEMON_NAME = "EXTRA_POKEMON_NAME" | |
fun getStartIntent(context: Context, pokemonName: String): Intent { | |
val intent = Intent(context, DetailActivity::class.java) | |
intent.putExtra(EXTRA_POKEMON_NAME, pokemonName) | |
return intent | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment