abstract class EpoxyModelPreloader<T : EpoxyModel<*>, U : ViewMetadata?, P : PreloadRequestHolder>
Describes how view content for an EpoxyModel should be preloaded. |
|
class EpoxyPreloader<P : PreloadRequestHolder> : OnScrollListener
A scroll listener that prefetches view content. |
|
open class ImageViewMetadata : ViewMetadata
Default implementation of ViewMetadata for an ImageView. This data can help the preload request know how to configure itself. |
|
interface Preloadable
Declares Views that should be preloaded. This can either be implemented by a custom view or by an EpoxyHolder. |
|
interface PreloadRequestHolder
This is responsible for holding details for a preloading request. Your implementation can do anything it wants with the request, but it must cancel and clear itself when clear is called. |
|
class ViewData<out U : ViewMetadata?>
Data about an image view to be preloaded. This data is used to construct a Glide image request. |
|
interface ViewMetadata |
class EpoxyPreloadException : RuntimeException |
typealias PreloadErrorHandler = (Context, RuntimeException) -> Unit |