Exemplo n.º 1
0
 public DropItemSource(List <IAutoDropItem> _ItemsList, SupportViewDrop _ConfigStyle, int _HeightOfRow, IDropItemSelected dropItemSelected)
 {
     ItemsList         = _ItemsList;
     ConfigStyle       = _ConfigStyle;
     HeightOfRow       = _HeightOfRow;
     IDropItemSelected = dropItemSelected;
 }
Exemplo n.º 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;
 }
Exemplo n.º 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;
 }
Exemplo n.º 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;
 }
Exemplo n.º 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);
        }
Exemplo n.º 6
0
 public GalleryDirectorySource(List <GalleryNative> galleryDirectories, IDropItemSelected IDropItemSelected)
 {
     this.galleryDirectories = galleryDirectories;
     this.IDropItemSelected  = IDropItemSelected;
 }