public ProblemPageViewModel(IProblemStorage problemStorage, Utils utils, IContentNavigationService contentNavigationService, IChapter2NameService chapter2NameService) { _problemStorage = problemStorage; _contentNavigationService = contentNavigationService; _utils = utils; _tapCommand = new Command(OnTapped); _doubleTapCommand = new Command(OnDoubleTapped); _chapter2NameService = chapter2NameService; _settingCommand = new Command(OnClickedSetting); }
public Utils(IChapter2NameService chapter2NameService) { chapter2NameService.InitializeAsync(); _chapter2NameService = chapter2NameService; }