コード例 #1
0
 protected void bindTodaysSpend(int year, int month, int dayOfMonth) {
   double spend =
       expenseData.getTodaysSpend(
           getApplicationContext(), DateHelper.makeDateString(year, month, dayOfMonth));
   lblTodaysSpendValue.setText(ExpenseContentProvider.MONEY_FORMAT.format(spend));
 }
コード例 #2
0
 private void bindTodaysSpend() {
   double spend = expenseData.getTodaysSpend(getApplicationContext(), getSelectedDate());
   lblTodaysSpendValue.setText(ExpenseContentProvider.MONEY_FORMAT.format(spend));
 }