Companion

object Companion

Functions

Link copied to clipboard
suspend fun <T : Any> Feed<T>.loadAll(): <Error class: unknown class>

Convenience function to load all items in the Feed. Please use sparringly.

Link copied to clipboard
suspend fun <T : Any> Feed<T>.pagedDataOfFirst(): <Error class: unknown class>

Convenience function to load all items in the Feed for the firstOrNull Tab.

Link copied to clipboard
fun <T : Any> PagedData<T>.toFeed(buttons: Feed.Buttons? = null, background: ImageHolder? = null): Feed<T>

Convenience function to create a Feed from a PagedData of T items.

fun <T : Any> List<T>.toFeed(buttons: Feed.Buttons? = null, background: ImageHolder? = null): Feed<T>

Convenience function to create a Feed from a list of T items.

Link copied to clipboard
fun <T : Any> PagedData<T>.toFeedData(buttons: Feed.Buttons? = null, background: ImageHolder? = null): Feed.Data<T>

Convenience function to convert a PagedData to a Feed.Data.

fun <T : Any> List<T>.toFeedData(buttons: Feed.Buttons? = null, background: ImageHolder? = null): Feed.Data<T>

Convenience function to convert a list of T items to a Feed.Data.