|
|
Erstellt von Jason Manns
vor fast 10 Jahre
|
|
|
|
Kopiert von Jason Manns
vor fast 10 Jahre
|
|
| Frage | Antworten |
| You have a ListView of names set up that displays a list of 10 usernames. Write the click listener so when a named is clicked a new activity is started and and sent which name was clicked. | @Override public void onItemClick(AdapterView<?> parent, View view, int position, long id) { Intent intent = new Intent(getApplicationContext(), Profile.class); intent.putExtra("friend", friends.get(position)); startActivity(intent); } |
Möchten Sie mit GoConqr kostenlos Ihre eigenen Karteikarten erstellen? Mehr erfahren.