コード例 #1
0
        public void RefreshView(Goal_V2_ModelCollection modelCollection)
        {
            decimal ExpensesTotal = DataReformatter.GetExpensesTotal(modelCollection.ExpenseModels);

            SpentAmount.text = "$" + ExpensesTotal.ToString();

            PlannedAmount.text = "$" + modelCollection.GoalModel.Amount.ToString();

            decimal RemainingDecimal = modelCollection.GoalModel.Amount - ExpensesTotal;

            RemainingAmount.text = "$" + RemainingDecimal.ToString();
        }
コード例 #2
0
 public void ConstructView(Goal_V2_ModelCollection modelCollection)
 {
     RefreshView(modelCollection);
 }