title: Android reyclerview does not get updated after restoring room database
body: <p>In restore screen, I restore my sqlite db (room database) file from google drive.
  After I go back to my main activity - the recyclerview shows the cached data instead of showing new restored db data.</p>
  <p>I tried initialising my ViewModel again in main activity - but that did not help.</p>
  <pre><code>@Override
      protected void onResume() {
          super.onResume();
  
          setupViewModel(); // re-initialising my ViewModel
          Toast.makeText(this, &quot;Your expenses have been restored&quot;, Toast.LENGTH_SHORT).show();
      }
  </code></pre>
  <p>If I restart my app after restore, I can see data from restored db on main activity.</p>
  <p>Any help would be appreciated.
  Workaround that I have now is - I can ask user to restart the app after they restore db from google drive.</p>
  <p>updates:</p>
  <pre><code>private void setupViewModel() {
          //Associate ViewModel to this activity
          ItemViewModel itemViewModel = new ViewModelProvider(this).get(ItemViewModel.class);
          itemViewModel.getItems().observe(this, new Observer&lt;List&lt;Item&gt;&gt;() {
              @Override
              public void onChanged(List&lt;Item&gt; items) {
                  ItemsActivity.this.items = items;
                  itemsAdaptor.setItems(items);
              }
          });
      }
  </code></pre>