public NativeListViewBase() : base(ContextHelper.Current) { InitializeScrollbars(); VerticalScrollBarEnabled = true; HorizontalScrollBarEnabled = true; ViewCache = new BufferViewCache(this); SetViewCacheExtension(ViewCache); InitializeSnapHelper(); MotionEventSplittingEnabled = false; }
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 }
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); }