예제 #1
0
        protected override void OnCreate(Bundle savedInstanceState)
        {
            base.OnCreate(savedInstanceState);
            SetContentView(Resource.Layout.CommentAddView);

            CommentAddScreenlet commentAddScreenlet =
                (CommentAddScreenlet)FindViewById(Resource.Id.comment_add_screenlet);

            commentAddScreenlet.Listener = this;
        }
 public virtual void OnUpdateCommentError(CommentAddScreenlet screenlet, NSError error)
 {
     Console.WriteLine($"Comment update failed: {error.DebugDescription}");
 }
 public virtual void OnCommentUpdated(CommentAddScreenlet screenlet, Comment comment)
 {
     Console.WriteLine($"Comment update success: {comment.CommentId}");
 }