Skip to content

Commit 0c0dca1

Browse files
fix: Product search recycler view data (#4918)
Fixed the product search recycler view data to show on the screen. Fixes #4913
1 parent 9ec3be4 commit 0c0dca1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/openfoodfacts/github/scrachx/openfood/features/search/ProductSearchActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,7 @@ class ProductSearchActivity : BaseActivity() {
606606
binding.productsRecyclerView.run RecyclerView@{
607607
this@RecyclerView.setHasFixedSize(true)
608608
this@RecyclerView.layoutManager = layoutManager
609-
this@RecyclerView.adapter = adapter
609+
this@RecyclerView.adapter = this@ProductSearchActivity.adapter
610610
this@RecyclerView.addItemDecoration(dividerItemDecoration)
611611

612612
// Retain an instance so that you can call `resetState()` for fresh searches

0 commit comments

Comments
 (0)