Code example for GridView

Methods: setAdapter, setOnItemClickListener