Code example for GridView

Methods: setOnScrollListenergetAdaptersetAdapter, setOnItemClickListener