예제 #1
0
 private async Task GetResult()
 {
     try
     {
         var dialogFragment = WebDialogFragment.NewInstance(null);
         dialogFragment.OkEvent    += dialog_OkEvent;
         dialogFragment.ErrorEvent += dialog_ErrorEvent;
         dialogFragment.Show(Activity.SupportFragmentManager, "webview");
     }
     catch (Exception e)
     {
         ShowDialog(e.Message, "msg_ok", null);
     }
 }
예제 #2
0
        public void ShowTodo(string url)
        {
            var dialogFragment = WebDialogFragment.NewInstance(url);

            dialogFragment.Show(Activity.SupportFragmentManager, "webview");
        }