Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void onListItemClick(ListView parent, View v, int position, long id) {
- Toast.makeText(this, "You have selected " + exhibits.get(position), Toast.LENGTH_SHORT).show();
- //Intent i = new Intent(this, ExhibitOpen.class);
- Intent i = new Intent(this, edu.foothill.junk.ExhibitOpen.class);
- Log.d("DUDUDUDU", exhibits.get(position).getName());
- Bundle bundle = new Bundle();
- bundle.putSerializable("MyClass", (Serializable) exhibits.get(position));
- i.putExtras(bundle);
- startActivity(i);
- }
- Intent i = getIntent();
- dene = (Exhibit)i.getSerializableExtra("MyClass");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement