Async Epoxy Controller
A subclass of EpoxyController that makes it easy to do model building and diffing in the background.
See https://github.com/airbnb/epoxy/wiki/Epoxy-Controller#asynchronous-support
Constructors
AsyncEpoxyController
Link copied to clipboard
open fun AsyncEpoxyController()
Content copied to clipboard
A new instance that does model building and diffing asynchronously.
AsyncEpoxyController
Link copied to clipboard
True to do model building and diffing asynchronously, false to do themboth on the main thread.
AsyncEpoxyController
Link copied to clipboard
open fun AsyncEpoxyController(enableAsyncModelBuilding: Boolean, enableAsyncDiffing: Boolean)
Content copied to clipboard
Individually control whether model building and diffing are done async or on the main thread.
Functions
addInterceptor
Link copied to clipboard
open fun addInterceptor(@NonNull() interceptor: EpoxyController.Interceptor)
Content copied to clipboard
addModelBuildListener
Link copied to clipboard
cancelPendingModelBuild
Link copied to clipboard
open fun cancelPendingModelBuild()
Content copied to clipboard
getAdapter
Link copied to clipboard
getSpanCount
Link copied to clipboard
getSpanSizeLookup
Link copied to clipboard
For use with a grid layout manager - use this to get the SpanSizeLookup for models inthis controller.
hasPendingModelBuild
Link copied to clipboard
isDebugLoggingEnabled
Link copied to clipboard
isDuplicateFilteringEnabled
Link copied to clipboard
isMultiSpan
Link copied to clipboard
isStickyHeader
Link copied to clipboard
notifyModelChanged
Link copied to clipboard
onRestoreInstanceState
Link copied to clipboard
onSaveInstanceState
Link copied to clipboard
removeInterceptor
Link copied to clipboard
open fun removeInterceptor(@NonNull() interceptor: EpoxyController.Interceptor)
Content copied to clipboard
Remove an interceptor that was added with addInterceptor.
removeModelBuildListener
Link copied to clipboard
open fun removeModelBuildListener(listener: OnModelBuildFinishedListener)
Content copied to clipboard
Remove a listener added with addModelBuildListener.
requestDelayedModelBuild
Link copied to clipboard
requestModelBuild
Link copied to clipboard
setDebugLoggingEnabled
Link copied to clipboard
setFilterDuplicates
Link copied to clipboard
setGlobalDebugLoggingEnabled
Link copied to clipboard
open fun setGlobalDebugLoggingEnabled(globalDebugLoggingEnabled: Boolean)
Content copied to clipboard
Similar to setDebugLoggingEnabled, but this changes the global default forall EpoxyControllers.
setGlobalDuplicateFilteringDefault
Link copied to clipboard
open fun setGlobalDuplicateFilteringDefault(filterDuplicatesByDefault: Boolean)
Content copied to clipboard
setFilterDuplicates is disabled in each EpoxyController by default.
setGlobalExceptionHandler
Link copied to clipboard
open fun setGlobalExceptionHandler(@NonNull() globalExceptionHandler: EpoxyController.ExceptionHandler)
Content copied to clipboard
setSpanCount
Link copied to clipboard
setupStickyHeaderView
Link copied to clipboard
teardownStickyHeaderView
Link copied to clipboard