private void InitView()
        {
            parentLayout = FindViewById <RelativeLayout>(Resource.Id.demo_parent);
            imageView    = FindViewById <ImageView>(Resource.Id.demo_image);
            listView     = FindViewById <ListView>(Resource.Id.demo_list);
            myView       = FindViewById <MyView>(Resource.Id.demo_myview);
            button       = FindViewById <Button>(Resource.Id.demo_button);

            button.Click += delegate
            { Toast.MakeText(this, "Button onClick", ToastLength.Short).Show(); };
            TypedArray ar  = Resources.ObtainTypedArray(Resource.Array.imgArray);
            int        len = ar.Length();

            resids = new List <int>();
            for (int i = 0; i < len; i++)
            {
                resids.Add(ar.GetResourceId(i, 0));
            }

            InitSeekBar();
            InitToggleButton();
            InitToolbar();
            InitDrawerLayout();
            RefreshDate();
        }
        protected override UITableViewCell GetCellImpl(UITableView tv)
        {
            MyView.Bind(MvxBindingTouchView, DataContext, "{'Title':{'Path':'Title'}}");
            MyView.Bind(MvxBindingTouchView, DataContext, "{'Subtitle':{'Path':'Subtitle'}}");

            return(base.GetCellImpl(tv));
        }
 public override View GetView(int position, View convertView, ViewGroup parent)
 {
     MyView view;
     if (convertView == null)
     {
         view = new MyView();
         convertView = mInflater.Inflate(Resource.Layout.Item, null);
         view.name = (TextView)convertView.FindViewById(Resource.Id.typename);
         view.name.Text = list[position];
         convertView.Tag = view;
     }
     else {
         view = (MyView)convertView.Tag;
     }
     return convertView;
 }
        public override View GetView(int position, View convertView, ViewGroup parent)
        {
            MyView view;

            if (convertView == null)
            {
                view            = new MyView();
                convertView     = mInflater.Inflate(Resource.Layout.Item, null);
                view.name       = (TextView)convertView.FindViewById(Resource.Id.typename);
                view.name.Text  = list[position];
                convertView.Tag = view;
            }
            else
            {
                view = (MyView)convertView.Tag;
            }
            return(convertView);
        }