Code example for ListAdapter

Methods: getCountgetItemViewType