title: Alternative to registerDataSetObserver() in RecyclerView
body: <p>In listView, to listen to changes in the Adapter data set, i use</p>
  
  <pre><code>adapter.registerDataSetObserver(new DataSetObserver() {
  
              @Override
              public void onChanged() {
                  super.onChanged();
  
              }
          });
  </code></pre>
  
  <p>But i am uanble to find a function that does the similar job in a RecyclerView. How can it be achieved in  case of RecyclerView.Adapter?</p>