HomeViewModel

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion
Link copied to clipboard
data class ExpandableHomepageList(var list: HomePageList, var currentPage: Int, var hasNext: Boolean)

Properties

Link copied to clipboard
val apiName: <Error class: unknown class><String>
Link copied to clipboard
val availableWatchStatusTypes: <Error class: unknown class><Pair<Set<WatchType>, Set<WatchType>>>
Link copied to clipboard
val bookmarks: <Error class: unknown class><Pair<Boolean, List<SearchResponse>>>
Link copied to clipboard
val currentAccount: <Error class: unknown class><DataStoreHelper.Account?>
Link copied to clipboard
Link copied to clipboard
val page: <Error class: unknown class><Resource<Map<String, HomeViewModel.ExpandableHomepageList>>>
Link copied to clipboard
val popup: <Error class: unknown class><Pair<HomeViewModel.ExpandableHomepageList, () -> Unit?>?>
Link copied to clipboard
val preview: <Error class: unknown class><Resource<Pair<Boolean, List<LoadResponse>>>>
Link copied to clipboard
val randomItems: <Error class: unknown class><List<SearchResponse>?>
Link copied to clipboard
Link copied to clipboard
val resumeWatching: <Error class: unknown class><List<SearchResponse>>

Functions

Link copied to clipboard
open fun addCloseable(closeable: AutoCloseable)
fun addCloseable(key: String, closeable: AutoCloseable)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun expand(name: String): Job
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun loadAndCancel(preferredApiName: String?, forceReload: Boolean = true, fromUI: Boolean = false): Job
Link copied to clipboard
fun loadStoredData(preferredWatchStatus: Set<WatchType>?): Job
Link copied to clipboard
fun popup(list: HomeViewModel.ExpandableHomepageList?, deleteCallback: () -> Unit? = null)
Link copied to clipboard
fun queryTextChange(newText: String)
Link copied to clipboard
Link copied to clipboard