public void notifyDatasetChanged(){
  mRefreshEvents=true;
  invalidate();
}

public void notifyDatasetChanged ( ) { mRefreshEvents = true ; invalidate ( ) ; }
refreshes the view and loads the events again .
