コード例 #1
0
        private async void ApplySetting()
        {
            GIEnv.GItemType          type    = (GIEnv.GItemType)GatheringItemTypePicker.SelectedIndex;
            string                   note    = GatheringItemNoteEntry.Text;
            GatheringItemNotiManager manager = notiManager as GatheringItemNotiManager;

            if (editType == NotiManager.EditType.Add)
            {
                Noti = new GatheringItemNoti(type);
            }
            else if (editType == NotiManager.EditType.Edit)
            {
                Noti.EditItemType(type);
            }

            Noti.ItemNote = note;

            manager.EditList(Noti, editType);

            await Navigation.PopAsync();
        }