Esempio n. 1
0
        protected override void OnCreate(Bundle savedInstanceState)
        {
            base.OnCreate(savedInstanceState);
            SetContentView(Resource.Layout.UserPortraitView);

            userPortraitScreenlet               = (UserPortraitScreenlet)FindViewById(Resource.Id.user_portrait_screenlet);
            userPortraitScreenlet.Listener      = this;
            userPortraitScreenlet.CacheListener = this;
        }
Esempio n. 2
0
 public virtual void Screenlet(UserPortraitScreenlet screenlet, NSDictionary <NSString, NSObject> attributes)
 {
     Console.WriteLine($"User portrait uploaded successfully: {attributes.DebugDescription}");
 }
Esempio n. 3
0
 public virtual void ScreenletUploadError(UserPortraitScreenlet screenlet, NSError error)
 {
     Console.WriteLine($"User portrait uploaded failed: {error.DebugDescription}");
 }
Esempio n. 4
0
 public virtual UIImage Screenlet(UserPortraitScreenlet screenlet, UIImage image)
 {
     Console.WriteLine($"User portrait succes: {image.DebugDescription}");
     return(image);
 }