title: When i add data to SQLite DataBase,i want to update the RecyclerView
body: <p>For example,RecyclerView is in "A" Activity,then  intent to "B" Activity.Later,when I add data to SQLiteDataBase in "B" Activity,i carry the <code>finish()</code> to go back "A" Activity. I want to update the RecyclerView.I did this  like the following,but don't work:</p>
  
  <pre><code>protected void onResume() {
      super.onResume();
      Log.i("TAG", "resume");
      allCaseItemList = getPersonalCaseinfo();
      mListViewAllCaseItemAdapter.notifyDataSetChanged();
  
  }
  </code></pre>
  
  <p>see here:
  <code>allCaseItemList</code>is my datalist,<code>mListViewAllCaseItemAdapter</code>is my customAdapter</p>