Code example for ListView

Methods: setSelection, getCount