Flashcards
Display ArrayList in List View
Cards in this deck (1)
- 1You have a ListView named firendsListView & an ArrayList of friends named friends. Write the code to display friends in the friendsListView.ArrayAdapter arrayAdapter = new ArrayAdapter(this, android.R.layout.simple_list_item_1, friends);
listView.setAdapter(arrayAdapter);
Information
- Description
- User has deleted their subject information Flashcards on Display ArrayList in List View, created by Deleted user on 13/11/2016.
- Created by
- Deleted user · Nov 2016
- Updated
- Nov 14, 2016
- Views
- 42
- Tags
- History
-
- Created by Jason Manns · Nov 11, 2016
- Copied by Jason Manns · Nov 13, 2016
- Rating