コード例 #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;
        }
コード例 #2
0
 public virtual void OnUpdateCommentError(CommentAddScreenlet screenlet, NSError error)
 {
     Console.WriteLine($"Comment update failed: {error.DebugDescription}");
 }
コード例 #3
0
 public virtual void OnCommentUpdated(CommentAddScreenlet screenlet, Comment comment)
 {
     Console.WriteLine($"Comment update success: {comment.CommentId}");
 }