Пример #1
0
        public virtual ListView InitializeListView(Context context)
        {
            if (this._list != null)
            {
                throw new MvxException("You cannot create the list more than once");
            }

            this._list = this.CreateList(context);
            this._list.ItemsSource = this.ItemsSource;
            this._list.ItemClick = this.ItemClick;
            // for testing some times it helps to see the list!
            // _list.SetBackgroundColor(Color.CornflowerBlue);
            return this._list;
        }
 public MvxListViewSelectedItemTargetBinding(MvxListView view)
     : base(view)
 {
 }