Skip to content

Instantly share code, notes, and snippets.

@ravidsrk
Last active July 31, 2017 18:55
Show Gist options
  • Save ravidsrk/8939e34b4e41493d51d9738f23562027 to your computer and use it in GitHub Desktop.
Save ravidsrk/8939e34b4e41493d51d9738f23562027 to your computer and use it in GitHub Desktop.
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