Example #1
0
 public override void OnViewCreated(Views.View p0, OS.Bundle p1)
 {
     if (DialogAdapter == null)
     {
         return;
     }
     DialogAdapter.List = ListView;
     DialogAdapter.RegisterListView();
     base.OnViewCreated(p0, p1);
 }
Example #2
0
        void ListView_ItemClick(object sender, AdapterView.ItemClickEventArgs e)
        {
            DialogAdapter dialogAdapter = this.ListAdapter as DialogAdapter;
            Element       elem          = dialogAdapter.ElementAtIndex(e.Position);

            if (elem != null && elem.Click != null)
            {
                elem.Click(sender, e);
            }
        }