Loading [MathJax]/jax/output/HTML-CSS/fonts/TeX/fontdata.js

Click listerner for list view

Description

User has deleted their subject information Flashcards on Click listerner for list view, created by Deleted user on 13/11/2016.
Deleted user
Flashcards by Deleted user, updated more than 1 year ago More Less
Jason Manns
Created by Jason Manns over 8 years ago
Jason Manns
Copied by Jason Manns over 8 years ago
12
0
1 2 3 4 5 (0)

Resource summary

Question Answer
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); }
Show full summary Hide full summary

0 comments

There are no comments, be the first and leave one below:

Similar

ANDROID
Marco Masabanda
Los sistemas operativos
JUAN JOSE GOMEZ PARRA
Android Trainee Question
Samrat_Kumar_Dey
Co-routines
ritesh singh
Guidelines m-learning
PAUL ANDRE ROMERO ALVARADO
Android
glupita28036615
Sistema android
thalia buenaño
Android
giss.93.21
sistema android
Walter Ivan
ANDROID
nellyguaman30