public void goTo ( int year ) { int position = mAdapter . positionOfYear ( year ) - mPositionShift ; int offset = mDistanceShift ; if ( position < 0 ) { position = 0 ; offset = 0 ; } postSetSelectionFromTop ( position , offset ) ; }
Jump to a specific year .