title: notifyDataSetChanged in setOnClickListener RecyclerView Adapter
body: <p>how to update <code>Recylerview</code> , after setOnClickListener in adapter</p>
  
  <pre><code>bDelete.setOnClickListener(new View.OnClickListener() {
                  @Override
                  public void onClick(View v) {
                      Boolean succes = dbDatasource.delete_ayat_bookmark((qurans.get(position).getnSurat()), qurans.get(position).getnAyat());
                      if (succes) {
                          Message message = new Message();
                          message.pesan_surat_ayat(context, "hapus", (qurans.get(position).getnSurat() + 1), qurans.get(position).getnAyat());
                          adapter.notifyDataSetChanged();
                          dialog.dismiss();
                      }
                  }
              });
  </code></pre>
  
  <p>logcat :</p>
  
  <pre><code>Process: com.ideabrains.alquranindonesia, PID: 17401
  java.lang.NullPointerException: Attempt to invoke virtual method 'void android.support.v7.widget.RecyclerView$Adapter.notifyItemRemoved(int)' on a null object reference
                                  at com.ideabrains.alquranindonesia.Bookmark_Adapter$1$4.onClick(Bookmark_Adapter.java:187)
                                  at android.view.View.performClick(View.java:5637)
  </code></pre>
  
  <p>adapter is null,
  how to get adapter in <code>RecyclerView</code> adapter ?</p>