class PagedListView extends FrameLayout {

    public void scrollToPosition(int position) {
        RecyclerView.LayoutManager layoutManager = mRecyclerView.getLayoutManager();
        if (layoutManager == null) {
            return;
        }

        RecyclerView.SmoothScroller smoothScroller = mSnapHelper.createScroller(layoutManager);
        smoothScroller.setTargetPosition(position);

        layoutManager.startSmoothScroll(smoothScroller);

        // Sometimes #scrollToPosition doesn't change the scroll state so we need to make sure
        // the pagination arrows actually get updated. See b/15801119
        mHandler.post(mUpdatePaginationRunnable);
    }

    public  PagedListView(Context context);
    public  PagedListView(Context context, AttributeSet attrs);
    public  PagedListView(Context context, AttributeSet attrs, int defStyleAttrs);
    public  PagedListView(Context context, AttributeSet attrs, int defStyleAttrs, int defStyleRes);

}