/// <summary>Creates an OverScroller.</summary> /// <remarks>Creates an OverScroller.</remarks> /// <param name="context">The context of this application.</param> /// <param name="interpolator"> /// The scroll interpolator. If null, a default (viscous) interpolator will /// be used. /// </param> /// <param name="flywheel">If true, successive fling motions will keep on increasing scroll speed. /// </param> /// <hide></hide> public OverScroller(android.content.Context context, android.view.animation.Interpolator interpolator, bool flywheel) { mInterpolator = interpolator; mFlywheel = flywheel; mScrollerX = new android.widget.OverScroller.SplineOverScroller(); mScrollerY = new android.widget.OverScroller.SplineOverScroller(); android.widget.OverScroller.SplineOverScroller.initFromContext(context); }
/// <summary>Creates an OverScroller.</summary> /// <remarks>Creates an OverScroller.</remarks> /// <param name="context">The context of this application.</param> /// <param name="interpolator"> /// The scroll interpolator. If null, a default (viscous) interpolator will /// be used. /// </param> /// <param name="flywheel">If true, successive fling motions will keep on increasing scroll speed. /// </param> /// <hide></hide> public OverScroller(android.content.Context context, android.view.animation.Interpolator interpolator, bool flywheel) { mInterpolator = interpolator; mFlywheel = flywheel; mScrollerX = new android.widget.OverScroller.SplineOverScroller(); mScrollerY = new android.widget.OverScroller.SplineOverScroller(); android.widget.OverScroller.SplineOverScroller.initFromContext(context); }