コード例 #1
0
  @Override
  public void onResume() {
    super.onResume();

    findMoneyOfRangeDatePresenter.onFindMoneyItems(getActivity(), startDate, endDate);
    Calendar calendar = Calendar.getInstance();
    findCostOfMonthPresenter.onFindCostOfMonth(
        getActivity(), calendar.get(Calendar.YEAR), calendar.get(Calendar.MONTH) + 1);
  }
コード例 #2
0
 public void updateRangeDate(String startDate, String endDate) {
   this.startDate = startDate;
   this.endDate = endDate;
   findMoneyOfRangeDatePresenter.onFindMoneyItems(getActivity(), startDate, endDate);
 }