Exemple #1
0
        protected override void OnCreate(Bundle savedInstanceState)
        {
            base.OnCreate(savedInstanceState);
            SetContentView(Resource.Layout.BlogsEntryView);

            BlogsEntryDisplayScreenlet blogsEntryDisplayScreenlet =
                (BlogsEntryDisplayScreenlet)FindViewById(Resource.Id.blogs_entry_display_screenlet);

            blogsEntryDisplayScreenlet.Listener = this;
        }
 public virtual void OnBlogEntryResponse(BlogsEntryDisplayScreenlet screenlet, BlogsEntry blogEntry)
 {
     Console.WriteLine($"Blog entry response: {blogEntry.EntryId}");
 }
 public virtual void OnBlogEntryError(BlogsEntryDisplayScreenlet screenlet, NSError error)
 {
     Console.WriteLine($"Blog entry error: {error.DebugDescription}");
 }