Demo showing the functionality of getViewTypeCount() and getItemViewType(…)  in list-view.