Epoxy Model Preloader
abstract class EpoxyModelPreloader<T : EpoxyModel<*>, U : ViewMetadata?, P : PreloadRequestHolder>(modelType: Class<T>, preloadableViewIds: List<Int>)
Content copied to clipboard
Describes how view content for an EpoxyModel should be preloaded.
Parameters
T
The type of EpoxyModel that this preloader applies to
U
The type of view metadata to provide to the request builder.
P
The type of PreloadRequestHolder that will execute the preload request
Constructors
EpoxyModelPreloader
Link copied to clipboard
fun <T : EpoxyModel<*>> EpoxyModelPreloader(modelType: Class<T>, preloadableViewIds: List<Int>)
Content copied to clipboard
The type of EpoxyModel that this preloader applies to
Types
Functions
buildViewMetadata
Link copied to clipboard
startPreload
Link copied to clipboard
abstract fun startPreload(epoxyModel: T, preloadTarget: P, viewData: ViewData<U>)
Content copied to clipboard
viewSignature
Link copied to clipboard