Ejemplo n.º 1
0
        public NativeListViewBase() : base(ContextHelper.Current)
        {
            InitializeScrollbars();
            VerticalScrollBarEnabled   = true;
            HorizontalScrollBarEnabled = true;

            ViewCache = new BufferViewCache(this);
            SetViewCacheExtension(ViewCache);

            InitializeSnapHelper();

            MotionEventSplittingEnabled = false;
        }
Ejemplo n.º 2
0
        public NativeListViewBase() : base(ContextHelper.Current)
        {
            InitializeScrollbars();
            VerticalScrollBarEnabled   = true;
            HorizontalScrollBarEnabled = true;

            if (FeatureConfiguration.NativeListViewBase.RemoveItemAnimator)
            {
                SetItemAnimator(null);
            }

            ViewCache = new BufferViewCache(this);
            SetViewCacheExtension(ViewCache);

            InitializeSnapHelper();

            MotionEventSplittingEnabled = false;

            _shouldRecalibrateFlingVelocity = (int)Android.OS.Build.VERSION.SdkInt >= 28;             // Android.OS.BuildVersionCodes.P
        }
Ejemplo n.º 3
0
        public NativeListViewBase() : base(ContextHelper.Current)
        {
            InitializeScrollbars();
            VerticalScrollBarEnabled   = true;
            HorizontalScrollBarEnabled = true;

            if (FeatureConfiguration.NativeListViewBase.RemoveItemAnimator)
            {
                SetItemAnimator(null);
            }

            ViewCache = new BufferViewCache(this);
            SetViewCacheExtension(ViewCache);

            InitializeSnapHelper();

            _shouldRecalibrateFlingVelocity = (int)Android.OS.Build.VERSION.SdkInt >= 28;             // Android.OS.BuildVersionCodes.P

            // // This is required for animations not to be cut off by transformed ancestor views. (#1333)
            SetClipChildren(false);
        }