コード例 #1
0
 public DropItemSource(List <IAutoDropItem> _ItemsList, SupportViewDrop _ConfigStyle, int _HeightOfRow, IDropItemSelected dropItemSelected)
 {
     ItemsList         = _ItemsList;
     ConfigStyle       = _ConfigStyle;
     HeightOfRow       = _HeightOfRow;
     IDropItemSelected = dropItemSelected;
 }
コード例 #2
0
 public DropItemAdapterAsync(Context context, List <IAutoDropItem> storeDataLst, SupportViewDrop _ConfigStyle, IDropItemSelected dropItemSelected) : base(context, 0)
 {
     originalData      = storeDataLst;
     items             = storeDataLst;
     mContext          = context;
     ConfigStyle       = _ConfigStyle;
     IDropItemSelected = dropItemSelected;
 }
コード例 #3
0
 public DropItemSource(List <IAutoDropItem> _ItemsList, SupportViewDrop _ConfigStyle, int _HeightOfRow, IDropItemSelected dropItemSelected, bool _IsShowCheckbox)
 {
     ItemsList         = _ItemsList;
     ConfigStyle       = _ConfigStyle;
     HeightOfRow       = _HeightOfRow;
     IDropItemSelected = dropItemSelected;
     IsShowCheckbox    = _IsShowCheckbox;
 }
コード例 #4
0
 public DropItemAdapter(Context context, List <IAutoDropItem> storeDataLst, SupportAutoComplete _ConfigStyle, IDropItemSelected dropItemSelected) : base(context, 0)
 {
     originalData      = storeDataLst;
     mContext          = context;
     ConfigStyle       = _ConfigStyle;
     Filter            = new ChemicalFilter(this);
     items             = new List <IAutoDropItem>();
     IDropItemSelected = dropItemSelected;
 }
コード例 #5
0
        public SpinnerMultiSelectAdapter(Context context, List <IAutoDropItem> storeDataLst, SupportDropList _ConfigStyle, IDropItemSelected _IDropItemSelected) : base(context, 0)
        {
            items             = storeDataLst;
            mContext          = context;
            ConfigStyle       = _ConfigStyle;
            IDropItemSelected = _IDropItemSelected;

            gradientDrawable = new GradientDrawable(GradientDrawable.Orientation.LeftRight, new int[] { Android.Graphics.Color.White, Android.Graphics.Color.White });
            gradientDrawable.SetStroke((int)ConfigStyle.CornerWidth, ConfigStyle.CornerColor.ToAndroid());
            gradientDrawable.SetShape(ShapeType.Rectangle);
            gradientDrawable.SetCornerRadius((float)ConfigStyle.CornerRadius);
        }
コード例 #6
0
 public GalleryDirectorySource(List <GalleryNative> galleryDirectories, IDropItemSelected IDropItemSelected)
 {
     this.galleryDirectories = galleryDirectories;
     this.IDropItemSelected  = IDropItemSelected;
 }