Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package com.lagradost.cloudstream3.ui.search
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.core.view.isGone
import com.fasterxml.jackson.annotation.JsonProperty
import com.lagradost.cloudstream3.TvType
import com.lagradost.cloudstream3.databinding.SearchHistoryFooterBinding
import com.lagradost.cloudstream3.databinding.SearchHistoryItemBinding
Expand All @@ -13,12 +12,15 @@ import com.lagradost.cloudstream3.ui.ViewHolderState
import com.lagradost.cloudstream3.ui.settings.Globals.EMULATOR
import com.lagradost.cloudstream3.ui.settings.Globals.TV
import com.lagradost.cloudstream3.ui.settings.Globals.isLayout
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

@Serializable
data class SearchHistoryItem(
@JsonProperty("searchedAt") val searchedAt: Long,
@JsonProperty("searchText") val searchText: String,
@JsonProperty("type") val type: List<TvType>,
@JsonProperty("key") val key: String,
@SerialName("searchedAt") val searchedAt: Long,
@SerialName("searchText") val searchText: String,
@SerialName("type") val type: List<TvType>,
@SerialName("key") val key: String,
)

data class SearchHistoryCallback(
Expand Down