private void updateHomeTaskListAdapter(){
  mHomeTaskListAdapter.notifyDataSetChanged();
  mHomeTaskCountTextView.setText(String.valueOf(mHomeTaskListAdapter.getItemCount()));
}

private void updateHomeTaskListAdapter ( ) { mHomeTaskListAdapter . notifyDataSetChanged ( ) ; mHomeTaskCountTextView . setText ( String . valueOf ( mHomeTaskListAdapter . getItemCount ( ) ) ) ; }
should call this method after hometasklistadapter ' s data are changed .
