add retry

This commit is contained in:
Li ZongYing
2024-01-08 20:07:53 +08:00
parent 0bfac7d679
commit c10d8b688f
5 changed files with 33 additions and 30 deletions
@@ -19,6 +19,8 @@ class TVViewModel(private var tv: TV) : ViewModel() {
private var rowPosition: Int = 0
private var itemPosition: Int = 0
var retryTimes: Int = 0
var retryMaxTimes: Int = 3
var programUpdateTime: Long = 0
private val _programId = MutableLiveData<String>()