@AfterViews
  void init() {

    progressDlg = new ProgressDialog(getActivity());
    progressDlg.setTitle(R.string.wait_for_moment);

    adapter.setCheckInCallback(proposedVenuesCallback);
    venuesList.setOnItemClickListener(this);
    venuesList.setAdapter(adapter);
    getDialog().setTitle(R.string.checkin_notif_title);
  }
 @Override
 public void onSuccess(Venue venue, int id) {
   progressDlg.show();
   switch (id) {
     case R.id.btn_checkin:
       getApiClient().addCheckIn(venue.getId(), checkInCallbackcallback);
       break;
     case R.id.btn_mute:
       venue.setMuted(Venue.FLAG_MUTED);
       getDbManager().setMuted(venue);
       adapter.notifyDataSetChanged();
       progressDlg.hide();
       break;
   }
 }
 @Override
 public void onLoaderReset(Loader<Cursor> loader) {
   adapter.swapCursor(null);
 }
 @Override
 public void onLoadFinished(Loader<Cursor> loader, Cursor cursor) {
   adapter.changeCursor(cursor);
 }