src/main/java/ru/mail/dondokidon/extensions/PagerAdapterHandler.java
/**
     * Set current position to passed value with animation
     * {@see AdapterHandlerTarget#onPositionChanged(int, int, boolean)}.
     *
     * @param position New position
     * @return Is position changed
     */
Set current position to passed value with animation
AdapterHandlerTarget#onPositionChanged(int, int, boolean).


Set current position to passed value with animation AdapterHandlerTarget#onPositionChanged ( int int boolean ) .
public boolean moveTo(int position){
        if (CPosition == position && mAdapter == null)
            return false;
        int oldPos = CPosition;
        preloadInfo(position);
        CPosition = position;
        if (Debug)
            Log.i(TAG, "Position moved to: " + CPosition);
        Target.onPositionChanged(oldPos, position, true);
        destroyInfo(position);
        return true;
    }
public boolean moveTo ( int position ) { if ( CPosition == position && mAdapter == null ) return false ; int oldPos = CPosition ; preloadInfo ( position ) ; CPosition = position ; if ( Debug ) Log . i ( TAG , "Position moved to: " + CPosition ) ; Target . onPositionChanged ( oldPos , position , true ) ; destroyInfo ( position ) ; return true ; }
Set current position to passed value with animation
 {@see AdapterHandlerTarget#onPositionChanged(int, int, boolean)}.
Set current position to passed value with animation { @see AdapterHandlerTarget#onPositionChanged ( int int boolean ) } .