Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
libs
res
src/com/jirawat/android/tutorial/list/simplelistitem1
AndroidManifest.xml
README.txt
build.xml
ic_launcher-web.png
proguard-project.txt
project.properties

README.txt

Demo using the built-in Android android.R.layout.simple_list_item_1
to display a List of Strings in the UI.

The demo displays a list of the original US 13 colonies in order of statehood.

The basic technical steps are

1. Create class extending ListActivity
2. Obtain data in List of Strings data structure
3. Create an ArrayAdapter that connects the List of Strings data to simple_list_item1
4. Bind the ListAdapter using the ListActivity.setListAdapter method
You can’t perform that action at this time.