feat: video fixing options
This commit is contained in:
parent
c2a10c233d
commit
10df1986e8
6 changed files with 112 additions and 3 deletions
|
@ -334,6 +334,16 @@ class EpisodeAdapter(
|
|||
}
|
||||
}
|
||||
}
|
||||
binding.itemDownload.setOnLongClickListener {
|
||||
if (0 <= bindingAdapterPosition && bindingAdapterPosition < arr.size) {
|
||||
val episodeNumber = arr[bindingAdapterPosition].number
|
||||
if (downloadedEpisodes.contains(episodeNumber)) {
|
||||
fragment.fixDownload(episodeNumber)
|
||||
}
|
||||
}
|
||||
|
||||
true
|
||||
}
|
||||
binding.itemEpisodeDesc.setOnClickListener {
|
||||
if (binding.itemEpisodeDesc.maxLines == 3)
|
||||
binding.itemEpisodeDesc.maxLines = 100
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue