<Search View with Recycler View not working in Fra...
# stackoverflow
u
Search View with Recycler View not working in Fragment[Tried all the solutions available] I implemented the searchview with a RecyclerView in a Fragment.The problem is, when I press search and I type the product, there are no results. I am dealing with this problem for more than 2 weeks, after trying almost everything found. This is my code for the Search Fragment: class SearchFragment : Fragment(R.layout.fragment_search) { val s = ArrayList() val displays=ArrayList() lateinit var adapter:AdapterSearch var sp=ArrayList() override fun...