Skip to content

Instantly share code, notes, and snippets.

@pratamawijaya
Created February 20, 2015 15:48
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 pratamawijaya/b20c64a6d728f4e088b1 to your computer and use it in GitHub Desktop.
Save pratamawijaya/b20c64a6d728f4e088b1 to your computer and use it in GitHub Desktop.
@Override
public void onItemClick(View v, int position) {
Toast.makeText(this, "" + locationModels.get(position).getTujuan(), Toast.LENGTH_SHORT).show();
Bundle data = new Bundle();
data.putInt("status", FROM_LOCAL);
data.putString("id", locationModels.get(position).getId());
startActivity(new Intent(this, ViewRouteActivity.class).putExtras(data));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment