private void addWorkerPage() {
    WorkerFragment workerFragment = new WorkerFragment();
    workerFragment.setOnRefreshCaseListener(this);
    mWorkerPageList.add(workerFragment);

    View indicator =
        LayoutInflater.from(mContext)
            .inflate(R.layout.worker_pager_indicator, mWorkerPagerIndicatorContainer, false);
    mWorkerPagerIndicatorContainer.addView(indicator);
  }
  @Override
  public void updateData() {
    int vendorSpinnerSelectedPos = mVendorSpinner.getSelectedItemPosition();

    setVendorSpinnerDatas();
    setCaseSpinnerDatas(
        vendorSpinnerSelectedPos == Spinner.INVALID_POSITION || vendorSpinnerSelectedPos == 0
            ? WorkingData.getInstance(mContext).getCases()
            : mVendorSpinnerData.get(mVendorSpinner.getSelectedItemPosition()).getCases());
    setFactorySpinnerDatas();

    mCaseAdapter.notifyDataSetChanged();
    for (WorkerFragment workerFragment : mWorkerPageList) {
      workerFragment.notifyDataSetChanged();
    }
  }