Set episodes title length to max 3 lines, ellipsize at end

This commit is contained in:
2022-03-30 20:27:10 +02:00
parent 1af82f8370
commit eaf1cf78e9
2 changed files with 2 additions and 7 deletions

View File

@ -73,13 +73,6 @@ class EpisodeItemAdapter(
return episodes.size
}
fun updateWatchedState(watched: Boolean, position: Int) {
// use getOrNull as there could be a index out of bound when running this in onResume()
// TODO
//episodes.getOrNull(position)?.watched = watched
}
inner class EpisodeViewHolder(val binding: ItemEpisodeBinding) :
RecyclerView.ViewHolder(binding.root) {
init {