title: How to update values in RecyclerView on onResume()?
body: <p>I'm designing a news app in which I'm showing the news articles in a recyclerView. Now on clicking a news article I want to change its background color to indicate that the news item has been read.</p>
  
  <p>For this, first I update a status field corresponding to the news article in my Firebase Database when the news is read. Then I check the value of this field in my recycler Adapter and change the background if the status is changed.</p>
  
  <p>However since the adapter of the recyclerView is defined in the onCreateView of the fragment, the change does not take place immediately when I press the back button. Rather the changes occur when reopen the app since the onCreateView is called that time. So how do I update the adapter in onResume of the fragment and update  the recyclerView accordingly?</p>