Code example for ListView

Methods: setOnCreateContextMenuListener, setOnItemClickListener