Inheritance: NSUrlConnection
Exemple #1
0
        public override void FinishedLoading(NSUrlConnection connection)
        {
            UrlConnection.ConnectionEnded(_name);
            if (strCallback != null)
            {
                strCallback(data.ToString());
            }

            if (imgCallback != null)
            {
                imgCallback(UIImage.LoadFromData(data));
            }
        }
Exemple #2
0
 public static void StartedDownloading(string name, UrlConnection connection)
 {
     Connections.Add(name, connection);
     UIApplication.SharedApplication.NetworkActivityIndicatorVisible = true;
 }
		public static void StartedDownloading(string name, UrlConnection connection){
			Connections.Add(name, connection);
			UIApplication.SharedApplication.NetworkActivityIndicatorVisible = true;
		}