public void ConstructView(ExpenseList_ModelCollection modelCollection)
 {
     if (modelCollection.ExpenseModels.Count == 0)
     {
         ConstructEmptyView();
     }
     else
     {
         ConstructRegularView(modelCollection);
     }
 }
        private void ConstructRegularView(ExpenseList_ModelCollection modelCollection)
        {
            ResetOriginalElement(ExpenseElements[0], modelCollection.ExpenseModels.Count);
            TileRect.gameObject.SetActive(true);
            ExpenseElements[0].UpdateView(modelCollection.ExpenseModels[0]);
            for (int index = 1; index < modelCollection.ExpenseModels.Count; index++)
            {
                ExpenseElements[index] = ConstructExpenseElement(modelCollection.ExpenseModels[index], index);
            }
            TileRect.sizeDelta = new Vector2(TileRect.sizeDelta.x, StartingTileHeight + ((modelCollection.ExpenseModels.Count - 1) * CatagoryOffset));

            Transaction.text = modelCollection.Strings[24];
            Spent.text       = modelCollection.Strings[18];
        }
 public void RefreshView(ExpenseList_ModelCollection modelCollection)
 {
     DeconstructView();
     ConstructView(modelCollection);
 }