A small sample with BaseAdapter example