Code example for Adapter

Methods: getCountgetItem