leanback/src/main/java/androidx/leanback/widget/Grid.java
public void invalidateItemsAfter(int index) {
        if (index < 0) {
            return;
        }
        if (mLastVisibleIndex < 0) {
            return;
        }
        if (mLastVisibleIndex >= index) {
            mLastVisibleIndex = index - 1;
        }
        resetVisibleIndexIfEmpty();
        if (getFirstVisibleIndex() < 0) {
            setStart(index);
        }
    }
/**
     * Invalidate items after or equal to index. This will remove visible items
     * after that and invalidate cache of layout results after that. Note that it's client's
     * responsibility to perform removing child action, {@link Provider#removeItem(int)} will not
     * be called because the index might be invalidated.
     */
Invalidate items after or equal to index. This will remove visible items
after that and invalidate cache of layout results after that. Note that it's client's
responsibility to perform removing child action,  Provider#removeItem(int) will not
be called because the index might be invalidated.
Invalidate items after or equal to index . This will remove visible items after that and invalidate cache of layout results after that . Note that it ' s client ' s responsibility to perform removing child action Provider#removeItem ( int ) will not be called because the index might be invalidated .
public void invalidateItemsAfter(int index) {
        if (index < 0) {
            return;
        }
        if (mLastVisibleIndex < 0) {
            return;
        }
        if (mLastVisibleIndex >= index) {
            mLastVisibleIndex = index - 1;
        }
        resetVisibleIndexIfEmpty();
        if (getFirstVisibleIndex() < 0) {
            setStart(index);
        }
    }
public void invalidateItemsAfter ( int index ) { if ( index < 0 ) { return ; } if ( mLastVisibleIndex < 0 ) { return ; } if ( mLastVisibleIndex >= index ) { mLastVisibleIndex = index - 1 ; } resetVisibleIndexIfEmpty ( ) ; if ( getFirstVisibleIndex ( ) < 0 ) { setStart ( index ) ; } }
Invalidate items after or equal to index.
Invalidate items after or equal to index .