public void OnClick(View v)
    {
        var     parentView     = ((ViewGroup)((ViewGroup)tabHost.GetChildAt(0)).GetChildAt(1)).GetChildAt(0);
        WebView whatsOnWebView = parentView.FindViewById <WebView>(Resource.Id.webViewWhatsOn);

        whatsOnWebView.Reload();
        tabHost.CurrentTab = 0;
    }
Beispiel #2
0
 public void OnTabChanged(string tabId)
 {
     if (tabId == "whats_on")
     {
         var     parentView     = ((ViewGroup)((ViewGroup)tabHost.GetChildAt(0)).GetChildAt(1)).GetChildAt(0);
         WebView whatsOnWebView = parentView.FindViewById <WebView>(Resource.Id.webViewWhatsOn);
         whatsOnWebView.Reload();
     }
 }