Recent Posts
None | 7 sec ago
None | 46 sec ago
None | 1 min ago
None | 1 min ago
None | 1 min ago
None | 1 min ago
None | 1 min ago
None | 2 min ago
None | 2 min ago
None | 2 min ago
Free Subdomains
Want a pastebin.com sub-domain for your community?
learn more...
What is pastebin?
Pastebin is a website that hosts all your text & code on dedicated servers for easy sharing.
learn more...
By mpardo on the 9th of Feb 2010 08:30:54 PM
Download |
Raw |
Embed |
Report
List<Map<String, Object>> categories = new Query<Category>(this, Category.class)
.orderBy(Category.columns.name, Query.OrderDirection.ascending)
.loadMap();
ListAdapter adapter = new SimpleAdapter(
this,
categories,
android.R.layout.simple_list_item_1,
new String[] { Category.
columns.
name },
new int[] { android.R.id.text1 });
setListAdapter(adapter);
Submit a correction or amendment below.
Make A New Post