Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

BigTed HUD question

$
0
0

I've got an iOS application. I am trying to work with the BigTed HUD component. I have the following code. I am not quite sure why the HUD is being displayed. I am currently just working on this with Visual Studio 2013 in a Windows 8.1 parallels session connecting to my Macbook Pro. I've used the BT Hud product before, so I am surprised by this.

async void HandleTouchUpInside (object sender, EventArgs e)
    {
        var userName = userId.Text;
        var password = pwd.Text;
        userId.ResignFirstResponder ();
        pwd.ResignFirstResponder ();

        if (!(String.IsNullOrEmpty(userName) || (String.IsNullOrEmpty(password))))
        {
            BigTed.BTProgressHUD.Show("Logging in.");
            var res = await ConstructionLibrary.WebServices.LoginUser(userName, password);
            if ((res.ValidLogin) && (res != null) && (!String.IsNullOrEmpty(res.Session)))
            {
                _ad.DisplayContent();
            }
            BigTed.BTProgressHUD.Dismiss();
        }
    }

Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>