Last active
July 31, 2017 18:55
-
-
Save ravidsrk/8939e34b4e41493d51d9738f23562027 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
public class DetailActivity extends BaseActivity implements DetailMvpView, ErrorView.ErrorListener { | |
public static final String EXTRA_POKEMON_NAME = "EXTRA_POKEMON_NAME"; | |
public static Intent getStartIntent(Context context, String pokemonName) { | |
Intent intent = new Intent(context, DetailActivity.class); | |
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