private void GoToStatistic(StatisticSelectorType item)
        {
            switch (item.Type)
            {
                case StatisticType.Cashflow:
                    navigationService.NavigateTo(NavigationConstants.STATISTIC_CASH_FLOW_VIEW);
                    break;

                case StatisticType.CategorySpreading:
                    navigationService.NavigateTo(NavigationConstants.STATISTIC_CATEGORY_SPREADING_VIEW);
                    break;

                case StatisticType.CategorySummary:
                    navigationService.NavigateTo(NavigationConstants.STATISTIC_CATEGORY_SUMMARY_VIEW);
                    break;

                case StatisticType.ExpenseHistory:
                    navigationService.NavigateTo(NavigationConstants.STATISTIC_MONTHLY_EXPENSES_VIEW);
                    break;
            }
        }
Exemple #2
0
        private void GoToStatistic(StatisticSelectorType item)
        {
            switch (item.Type)
            {
            case StatisticType.Cashflow:
                navigationService.NavigateTo(NavigationConstants.STATISTIC_CASH_FLOW_VIEW);
                break;

            case StatisticType.CategorySpreading:
                navigationService.NavigateTo(NavigationConstants.STATISTIC_CATEGORY_SPREADING_VIEW);
                break;

            case StatisticType.CategorySummary:
                navigationService.NavigateTo(NavigationConstants.STATISTIC_CATEGORY_SUMMARY_VIEW);
                break;

            case StatisticType.ExpenseHistory:
                navigationService.NavigateTo(NavigationConstants.STATISTIC_MONTHLY_EXPENSES_VIEW);
                break;
            }
        }