Code example for ListView

Methods: setSelection

0
     */ 
    public void onLoaderReset(Loader<Cursor> loader) {
        // Clear the listview 
        this.mAdapter.clear();
        this.mAdapter.notifyDataSetChanged();
        this.mSavedTimers.setSelection(0);
    } 
 
    /** 
     * Method that sets the listener for return events of this widget 
     * 
     * @param onSavedCountDownTimerEvent The listener where return the events 
     */ 
    public void setOnSavedCountDownTimerEvent( 
            OnSavedCountDownTimerEvent onSavedCountDownTimerEvent) {
        this.mOnSavedCountDownTimerEvent = onSavedCountDownTimerEvent;
    } 
 
    /** 
     * {@inheritDoc} 
     */