/* * public static async void InitManna() * { * var isGetMannaCompleted = await MannaDataManager.GetManna(DateTime.Now); * if (!isGetMannaCompleted) * { * await Application.Current.MainPage.DisplayAlert("만나 불러오기 실패", "새로고침 해주세요", "확인"); * } * } */ public static async void InitMccheyneData() { try { GetJsonService.InitMcchyneData(); } catch (Exception e) { Debug.Fail("InitMcchyneData\n" + e.Message); await Application.Current.MainPage.DisplayAlert("맥체인 불러오기 오류", "", "확인"); } }
private static void CreateData() { mccheyneRanges = new List <MccheyneRange>(); try { mccheyneRanges = GetJsonService.GetMccheyneRangesFromJson(); } catch (Exception e) { System.Diagnostics.Debug.Fail("# App GetJsonMccheyneRange() \n" + e.Message); } }