コード例 #1
0
        private async Task Tapped()
        {
            if (Selected)
            {
                await _selectService.Delete(ID);
            }
            else
            {
                await _selectService.Add(ID);
            }

            Selected = !Selected;
            //await _navigator.PushAsync<CustomFieldViewModel>(beforeNavigate: (arg) => arg.SetState(_dto, Selected));
        }