leanback/src/main/java/androidx/leanback/widget/SparseArrayObjectAdapter.java
public void clear(int key) {
        int index = mItems.indexOfKey(key);
        if (index >= 0) {
            mItems.removeAt(index);
            notifyItemRangeRemoved(index, 1);
        }
    }
/**
     * Clears the given key and associated item from the adapter.
     *
     * @param key The key to be cleared.
     */
Clears the given key and associated item from the adapter.
@param key The key to be cleared.
Clears the given key and associated item from the adapter . @param key The key to be cleared .
public void clear(int key) {
        int index = mItems.indexOfKey(key);
        if (index >= 0) {
            mItems.removeAt(index);
            notifyItemRangeRemoved(index, 1);
        }
    }
public void clear ( int key ) { int index = mItems . indexOfKey ( key ) ; if ( index >= 0 ) { mItems . removeAt ( index ) ; notifyItemRangeRemoved ( index , 1 ) ; } }
Clears the given key and associated item from the adapter.
Clears the given key and associated item from the adapter .