AbsListView.SmoothScrollBy(Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Smoothly scroll by distance pixels over duration milliseconds.
[Android.Runtime.Register("smoothScrollBy", "(II)V", "GetSmoothScrollBy_IIHandler")]
public virtual void SmoothScrollBy (int distance, int duration);
[<Android.Runtime.Register("smoothScrollBy", "(II)V", "GetSmoothScrollBy_IIHandler")>]
abstract member SmoothScrollBy : int * int -> unit
override this.SmoothScrollBy : int * int -> unit
Parameters
- distance
- Int32
Distance to scroll in pixels.
- duration
- Int32
Duration of the scroll animation in milliseconds.
- Attributes
Remarks
Smoothly scroll by distance pixels over duration milliseconds.
Java documentation for android.widget.AbsListView.smoothScrollBy(int, int)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.