Code example for Gallery

Methods: setAdapter, setOnItemClickListener, setOnItemSelectedListener, setSpacing