paging/common/src/main/java/androidx/paging/PagedList.java
public void loadAround(int index) {
        mLastLoad = index + getPositionOffset();
        loadAroundInternal(index);

        mLowestIndexAccessed = Math.min(mLowestIndexAccessed, index);
        mHighestIndexAccessed = Math.max(mHighestIndexAccessed, index);

        /*
         * mLowestIndexAccessed / mHighestIndexAccessed have been updated, so check if we need to
         * dispatch boundary callbacks. Boundary callbacks are deferred until last items are loaded,
         * and accesses happen near the boundaries.
         *
         * Note: we post here, since RecyclerView may want to add items in response, and this
         * call occurs in PagedListAdapter bind.
         */
        tryDispatchBoundaryCallbacks(true);
    }
/**
     * Load adjacent items to passed index.
     *
     * @param index Index at which to load.
     */
Load adjacent items to passed index.
@param index Index at which to load.
Load adjacent items to passed index . @param index Index at which to load .
public void loadAround(int index) {
        mLastLoad = index + getPositionOffset();
        loadAroundInternal(index);
        mLowestIndexAccessed = Math.min(mLowestIndexAccessed, index);
        mHighestIndexAccessed = Math.max(mHighestIndexAccessed, index);
        /*
         * mLowestIndexAccessed / mHighestIndexAccessed have been updated, so check if we need to
         * dispatch boundary callbacks. Boundary callbacks are deferred until last items are loaded,
         * and accesses happen near the boundaries.
         *
         * Note: we post here, since RecyclerView may want to add items in response, and this
         * call occurs in PagedListAdapter bind.
         */
        tryDispatchBoundaryCallbacks(true);
    }
public void loadAround ( int index ) { mLastLoad = index + getPositionOffset ( ) ; loadAroundInternal ( index ) ; mLowestIndexAccessed = Math . min ( mLowestIndexAccessed , index ) ; mHighestIndexAccessed = Math . max ( mHighestIndexAccessed , index ) ; /*
         * mLowestIndexAccessed / mHighestIndexAccessed have been updated, so check if we need to
         * dispatch boundary callbacks. Boundary callbacks are deferred until last items are loaded,
         * and accesses happen near the boundaries.
         *
         * Note: we post here, since RecyclerView may want to add items in response, and this
         * call occurs in PagedListAdapter bind.
         */ tryDispatchBoundaryCallbacks ( true ) ; }
Load adjacent items to passed index.
Load adjacent items to passed index .