protected override void OnCreate(Bundle savedInstanceState) { base.OnCreate(savedInstanceState); SetContentView(Resource.Layout.CommentDisplayView); CommentDisplayScreenlet commentDisplayScreenlet = (CommentDisplayScreenlet)FindViewById(Resource.Id.comment_display_screenlet); commentDisplayScreenlet.Listener = this; }
public virtual void OnUpdateComment(CommentDisplayScreenlet screenlet, Comment comment, NSError error) { Console.WriteLine($"Update comment failed: {comment.CommentId} - {error.DebugDescription}"); }
public virtual void OnLoadCommentError(CommentDisplayScreenlet screenlet, NSError error) { Console.WriteLine($"Load comment failed: {error.DebugDescription}"); }
public virtual void OnCommentUpdated(CommentDisplayScreenlet screenlet, Comment comment) { Console.WriteLine($"Comment updated: {comment.CommentId}"); }