Skip to content

Commit

Permalink
ANDROID-14134 remove unused parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
jeprubio committed Dec 26, 2023
1 parent ba3ca7f commit c599cb4
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class ListsCatalogFragment : Fragment() {
boxedInverseList.adapter = ListAdapter(backgroundType = ListRowView.BackgroundType.TYPE_BOXED_INVERSE)

val clickableRow: MisticaRecyclerView = view.findViewById(R.id.clickable_list)
clickableRow.adapter = ClickableListAdapter(backgroundType = ListRowView.BackgroundType.TYPE_NORMAL)
clickableRow.adapter = ClickableListAdapter()
}

class ListAdapter(
Expand Down Expand Up @@ -556,9 +556,7 @@ class ListsCatalogFragment : Fragment() {

class ListViewHolder(val rowView: ListRowView) : RecyclerView.ViewHolder(rowView)

class ClickableListAdapter(
@ListRowView.BackgroundType private val backgroundType: Int,
) : RecyclerView.Adapter<ListViewHolder>() {
class ClickableListAdapter : RecyclerView.Adapter<ListViewHolder>() {
override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): ListViewHolder {
return ListViewHolder(
LayoutInflater.from(parent.context).inflate(
Expand Down

0 comments on commit c599cb4

Please sign in to comment.