INNER CODE UNIT · Kotlin
notifyAdapterItemRemoved
mikepenz/FastAdapter · fastadapter/src/main/java/com/mikepenz/fastadapter/FastAdapter.kt:731
open fun notifyAdapterItemRemoved(position: Int) {
notifyAdapterItemRangeRemoved(position, 1)
}
/**
* Wraps notifyItemRangeRemoved
*
* @param position the global position
* @param itemCount the count of items removed
*/
open fun notifyAdapterItemRangeRemoved(position: Int, itemCount: Int) {
// handle our extensions
for (ext in extensionsCache.values) {
ext.notifyAdapterItemRangeRemoved(position, itemCount)
}
cacheSizes()
notifyItemRangeRemoved(position, itemCount)