We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ec3be4 commit 0c0dca1Copy full SHA for 0c0dca1
app/src/main/java/openfoodfacts/github/scrachx/openfood/features/search/ProductSearchActivity.kt
@@ -606,7 +606,7 @@ class ProductSearchActivity : BaseActivity() {
606
binding.productsRecyclerView.run RecyclerView@{
607
this@RecyclerView.setHasFixedSize(true)
608
this@RecyclerView.layoutManager = layoutManager
609
- this@RecyclerView.adapter = adapter
+ this@RecyclerView.adapter = this@ProductSearchActivity.adapter
610
this@RecyclerView.addItemDecoration(dividerItemDecoration)
611
612
// Retain an instance so that you can call `resetState()` for fresh searches
0 commit comments