adapter
Android Custom Complex Listview with Header (no XML)
Create a dynamic (no XML) listview with header with all the bells and whistles. Learn how to use the item position to change its background and content for a complex result.
Android Dynamic (no xml) Custom Adapter Listview
A tutorial on how to build a custom adapter for an Android Listview control, and how to catch the onClick event correctly.
Includes source code.