添加初始化TVList行为

This commit is contained in:
LeGend-wLw 2024-02-04 16:42:38 +08:00
parent a4c95efd71
commit dd8df63b01
2 changed files with 3 additions and 0 deletions

View File

@ -139,6 +139,7 @@ class MainFragment : BrowseSupportFragment() {
val cardPresenter = CardPresenter(viewLifecycleOwner)
var idx: Long = 0
TVList.init(requireContext())
for ((k, v) in TVList.list) {
val listRowAdapter = ArrayObjectAdapter(cardPresenter)
for ((idx2, v1) in v.withIndex()) {

View File

@ -95,6 +95,8 @@ class Request {
fun initYSP(context: Context) {
ysp = YSP(context)
//TODO 不确定在哪里初始化
TVList.init(context)
}
var call: Call<LiveInfo>? = null