@Override
 public void onShow() {
   if (mDoctors == null
       || mDoctors.size() <= 0
       || SettingsUtils.getDoctorUpdateRequired(mActivity)) {
     if (mTask != null) mTask.cancel(true);
     mTask = new AllDoctorsAsyncTask(this.getActivity(), mHandler);
     mActivity.showLoader(null, null, true);
     mTask.execute();
   } else if (mRecyclerAdapter != null) {
     mRecyclerAdapter.addAll(mDoctors);
     mRecyclerAdapter.notifyDataSetChanged();
   }
 }
 @Override
 public void onHide() {
   if (mTask != null) mTask.cancel(true);
 }