Commit 2511b9f1 authored by Matthieu's avatar Matthieu
Browse files

Fix lint error

parent 9c1187f2
......@@ -36,7 +36,7 @@ class ThumbnailAdapter (private val context: Context,
holder.thumbnail.setImageBitmap(tbItem.image)
holder.thumbnail.setOnClickListener {
listener.onFilterSelected(tbItem.filter)
selectedIndex = position
selectedIndex = holder.bindingAdapterPosition
notifyDataSetChanged()
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment