Skip to content

Commit

Permalink
fix: Product search recycler view data (#4918)
Browse files Browse the repository at this point in the history
Fixed the product search recycler view data to show on the screen.

Fixes #4913
  • Loading branch information
pratyaksh1610 committed Feb 19, 2023
1 parent 9ec3be4 commit 0c0dca1
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -606,7 +606,7 @@ class ProductSearchActivity : BaseActivity() {
binding.productsRecyclerView.run RecyclerView@{
this@RecyclerView.setHasFixedSize(true)
this@RecyclerView.layoutManager = layoutManager
this@RecyclerView.adapter = adapter
this@RecyclerView.adapter = this@ProductSearchActivity.adapter
this@RecyclerView.addItemDecoration(dividerItemDecoration)

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

0 comments on commit 0c0dca1

Please sign in to comment.