public ReminderPopup(ManagemeHttpClient client)
     : base(" R E M I N D E R ")
 {
     _client = client;
     _selectedReminderIndex = 0;
     Reminders = new List <ReminderViewModel>();
 }
示例#2
0
        public async Task InitAsync()
        {
            _client = new ManagemeHttpClient();

            await _client.LoginAsync(new LoginForm("Seva", "123"));

            _categories = await _client.GetCategoriesAsync();

            _currentCategory = _categories.First();
            _categoryTodos   = await _client.GetTodosAsync(_currentCategory.Id);

            _popup = new ReminderPopup(_client);
        }