Skip to content

Commit

Permalink
Mark user relevant shows only when between other shows
Browse files Browse the repository at this point in the history
  • Loading branch information
cemrich committed Sep 25, 2024
1 parent 415a896 commit 2fe44ef
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class MediathekShowListAdapter(
override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): MediathekItemViewHolder {
val layoutInflater = LayoutInflater.from(parent.context)
val binding = MediathekListFragmentItemBinding.inflate(layoutInflater, parent, false)
val holder = MediathekItemViewHolder(binding, true, scope)
val holder = MediathekItemViewHolder(binding, false, scope)

binding.root.setOnClickListener {
listener?.onShowClicked(persistedShows[holder.bindingAdapterPosition])
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ abstract class DetailsBaseFragment : Fragment(), MediathekShowListItemListener {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)

showAdapter = PagedMediathekShowListAdapter(lifecycleScope, true, this)
showAdapter = PagedMediathekShowListAdapter(lifecycleScope, false, this)
}

override fun onCreateView(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class SearchResultsFragment : Fragment(), MediathekShowListItemListener {

val localShowsResultAdapter = PagedMediathekShowListAdapter(
lifecycleScope,
true,
false,
this
)
val mediathekResultAdapter = PagedMediathekShowListAdapter(
Expand Down

0 comments on commit 2fe44ef

Please sign in to comment.