title: List is not updated after deleting
body: <p>The deleted file is still visible after deletion. Please help me.The deleted file is still visible after deletion. Please help me</p>
  <p>MY java code:</p>
  <pre><code>   case R.id.menuDelete:
                      if (file.exists()) {
                          final android.app.AlertDialog.Builder builder = new android.app.AlertDialog.Builder(DocumentActivity.this);
                          builder
                                  .setMessage(&quot;Delete this document folder?&quot;)
                                  .setPositiveButton(&quot;Delete&quot;, new DialogInterface.OnClickListener() {
                                      @Override
                                      public void onClick(DialogInterface dialogInterface, int i) {
                                          for (File file1 : file.listFiles())
                                              file1.delete();
                                          file.delete();
                                          Toast.makeText(DocumentActivity.this, &quot;Deleted&quot;, Toast.LENGTH_LONG).show();
  
                                          adapter.notifyDataSetChanged();
  
                                         finish();
  </code></pre>
  <p>adapter:</p>
  <pre><code>public void loadData(List&lt;DocumentModel&gt; lstDocument) {
      if (lstDocument != null &amp;&amp; lstDocument.size() &gt; 0) {
          this.lstDocument.clear();
          this.lstDocument.addAll(lstDocument);
          notifyDataSetChanged();
      }
  }
  </code></pre>