How do I refresh my RecyclerView adapter?
Answer
How to update RecyclerView Adapter Data
Answer
How to update RecyclerView Adapter Data
- Update the ArrayList from the fragment where recyclerView is created, set new data to adapter, and then call adapter. …
- Create a new adapter, as others did, and it worked for them, but there wasn’t any change for me: recyclerView.setAdapter(new RecyclerViewAdapter(newArrayList))