Code example for Adapter

Methods: getItemViewTypegetViewgetViewTypeCount