public int getSelectedItemPosition() {
        ensureList();
        return mListView.getSelectedItemPosition();
    }
Get the position of the currently selected list item.
sherlockprogressfragment/src/com/devspark/progressfragment/SherlockProgressListFragment.java