Example #1
0
 public void LoadAndIntializeView(Action backToHomeAction, Error errorImpl)
 {
     HomeButton.Hidden = true;
     errorImpl.ApplyHeader(ErrorHeader);
     errorImpl.ApplyBody(ErrorBody);
     errorImpl.ApplySuggestion(ErrorSuggestion);
     if(errorImpl.IsAbleToNavigateHome)
     {
         HomeButton.TouchDown += delegate {
         backToHomeAction();
         };
         HomeButton.Hidden = false;
     }
 }