INNER CODE UNIT · Kotlin

notifyAdapterDataSetChanged

mikepenz/FastAdapter · fastadapter/src/main/java/com/mikepenz/fastadapter/FastAdapter.kt:693

    open fun notifyAdapterDataSetChanged() {
        // handle our extensions
        for (ext in extensionsCache.values) {
            ext.notifyAdapterDataSetChanged()
        }
        cacheSizes()
        notifyDataSetChanged()
    }

    /**
     * Wraps notifyItemInserted
     *
     * @param position the global position
     */
    open fun notifyAdapterItemInserted(position: Int) {
        notifyAdapterItemRangeInserted(position, 1)
    }

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…