Exemple #1
0
        public override void OnActivityCreated(Bundle savedInstanceState)
        {
            base.OnActivityCreated(savedInstanceState);
            // Create fragment here

            monitorAct = Activity as MonitorActivity;
            if (monitorAct == null)
            {
                return;
            }
        }
Exemple #2
0
        public override void OnActivityCreated(Bundle savedInstanceState)
        {
            base.OnActivityCreated(savedInstanceState);
            // Create fragment here

            monitorAct = Activity as MonitorActivity;
            if (monitorAct == null)
            {
                return;
            }

            ListView list = View.FindViewById <ListView>(Resource.Id.listView1);

            list.ItemClick     += List_ItemClick;
            list.ItemLongClick += List_ItemLongClick;
        }