Пример #1
0
 public MvxBindableListView(Context context, IAttributeSet attrs, MvxBindableListAdapter adapter)
     : base(context, attrs)
 {
     var itemTemplateId = MvxBindableListViewHelpers.ReadTemplatePath(context, attrs);
     adapter.ItemTemplateId = itemTemplateId;
     Adapter = adapter;
     SetupItemClickListener();
 }
Пример #2
0
 public MvxBindableListView(Context context, IAttributeSet attrs, MvxBindableListAdapter adapter)
     : base(context, attrs)
 {
     var itemTemplateId = MvxBindableListViewHelpers.ReadAttributeValue(context, attrs, MvxAndroidBindingResource.Instance.BindableListViewStylableGroupId, MvxAndroidBindingResource.Instance.BindableListItemTemplateId);
     adapter.ItemTemplateId = itemTemplateId;
     Adapter = adapter;
     SetupItemClickListener();            
 }
Пример #3
0
        public MvxBindableListView(Context context, IAttributeSet attrs, MvxBindableListAdapter adapter)
            : base(context, attrs)
        {
            var itemTemplateId = MvxBindableListViewHelpers.ReadTemplatePath(context, attrs);

            adapter.ItemTemplateId = itemTemplateId;
            Adapter = adapter;
            SetupItemClickListener();
        }
Пример #4
0
        public MvxBindableListView(Context context, IAttributeSet attrs, MvxBindableListAdapter adapter)
            : base(context, attrs)
        {
            var itemTemplateId = MvxBindableListViewHelpers.ReadAttributeValue(context, attrs, MvxAndroidBindingResource.Instance.BindableListViewStylableGroupId, MvxAndroidBindingResource.Instance.BindableListItemTemplateId);

            adapter.ItemTemplateId = itemTemplateId;
            Adapter = adapter;
            SetupItemClickListener();
        }
Пример #5
0
 public MvxBindableSpinner(Context context, IAttributeSet attrs, MvxBindableListAdapter adapter)
     : base(context, attrs)
 {
     var itemTemplateId = MvxBindableListViewHelpers.ReadAttributeValue(context, attrs, MvxAndroidBindingResource.Instance.BindableListViewStylableGroupId, MvxAndroidBindingResource.Instance.BindableListItemTemplateId);
     var dropDownItemTemplateId = MvxBindableListViewHelpers.ReadAttributeValue(context, attrs, MvxAndroidBindingResource.Instance.BindableListViewStylableGroupId, MvxAndroidBindingResource.Instance.BindableDropDownListItemTemplateId);
     adapter.ItemTemplateId = itemTemplateId;
     adapter.DropDownItemTemplateId = dropDownItemTemplateId;
     Adapter = adapter;
     SetupHandleItemSelected();
 }
Пример #6
0
        public MvxBindableSpinner(Context context, IAttributeSet attrs, MvxBindableListAdapter adapter)
            : base(context, attrs)
        {
            var itemTemplateId         = MvxBindableListViewHelpers.ReadAttributeValue(context, attrs, MvxAndroidBindingResource.Instance.BindableListViewStylableGroupId, MvxAndroidBindingResource.Instance.BindableListItemTemplateId);
            var dropDownItemTemplateId = MvxBindableListViewHelpers.ReadAttributeValue(context, attrs, MvxAndroidBindingResource.Instance.BindableListViewStylableGroupId, MvxAndroidBindingResource.Instance.BindableDropDownListItemTemplateId);

            adapter.ItemTemplateId         = itemTemplateId;
            adapter.DropDownItemTemplateId = dropDownItemTemplateId;
            Adapter = adapter;
            SetupHandleItemSelected();
        }
 public MyBindableListView(Context context, IAttributeSet attrs, MvxBindableListAdapter idk)
     : base(context, attrs, idk)
 {
     Initialize(context);
 }