Result View Model2
Types
Link copied to clipboard
Link copied to clipboard
data class LoadResponseFromSearch(var name: String, var url: String, var apiName: String, var type: TvType, var posterUrl: String?, var year: Int? = null, var plot: String? = null, var rating: Int? = null, var tags: List<String>? = null, var duration: Int? = null, var trailers: MutableList<TrailerData> = mutableListOf(), var recommendations: List<SearchResponse>? = null, var actors: List<ActorData>? = null, var comingSoon: Boolean = false, var syncData: MutableMap<String, String> = mutableMapOf(), var posterHeaders: Map<String, String>? = null, var backgroundPosterUrl: String? = null, var contentRating: String? = null, val id: Int?) : LoadResponse
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun toggleFavoriteStatus(context: Context?, statusChangedCallback: (newStatus: Boolean?) -> Unit? = null)
Toggles the favorite status of an item.
Link copied to clipboard
fun toggleSubscriptionStatus(context: Context?, statusChangedCallback: (newStatus: Boolean?) -> Unit? = null)
Toggles the subscription status of an item.
Link copied to clipboard
fun updateWatchStatus(status: WatchType, context: Context?, loadResponse: LoadResponse? = null, statusChangedCallback: (statusChanged: Boolean) -> Unit? = null)