protected virtual async void InitFromBundle(CategoryBundle parameters) { Title = parameters.CategoryName ?? LocalizationService.GetLocalizableString(ProductsConstants.RESX_NAME, "CategoriesEmptyTitle"); _currentCategoryId = parameters.CategoryId; VmNavigationType = parameters.NavigationType == Base.Core.Models.Navigation.NavigationType.None ? Base.Core.Models.Navigation.NavigationType.ClearAndPush : parameters.NavigationType; CartIndicatorVM = await ProductsVmService.LoadCartIndicatorViewModel(); }
public async void NavigateToCategory(CategoryBundle bundle) { await NavigateTo <ICategoriesViewModel>(bundle); }