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; }
public virtual void Screenlet(UserPortraitScreenlet screenlet, NSDictionary <NSString, NSObject> attributes) { Console.WriteLine($"User portrait uploaded successfully: {attributes.DebugDescription}"); }
public virtual void ScreenletUploadError(UserPortraitScreenlet screenlet, NSError error) { Console.WriteLine($"User portrait uploaded failed: {error.DebugDescription}"); }
public virtual UIImage Screenlet(UserPortraitScreenlet screenlet, UIImage image) { Console.WriteLine($"User portrait succes: {image.DebugDescription}"); return(image); }