INNER CODE UNIT · Kotlin

attachToWindow

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

        open fun attachToWindow(item: Item) {}

        /** View got detached from the window */
        open fun detachFromWindow(item: Item) {}

        /**
         * View is in a transient state and could not be recycled
         *
         * @return return true if you want to recycle anyways (after clearing animations or so)
         */
        open fun failedToRecycle(item: Item): Boolean {
            return false
        }
    }

    companion object {
        private const val TAG = "FastAdapter"

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…