mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-17 21:01:34 +08:00
setSelection used instead smoothScrollToPosition
This commit is contained in:
@ -104,7 +104,7 @@ export class ListView extends common.ListView {
|
|||||||
|
|
||||||
public scrollToIndex(index: number) {
|
public scrollToIndex(index: number) {
|
||||||
if (this._android) {
|
if (this._android) {
|
||||||
this._android.smoothScrollToPosition(index, );
|
this._android.setSelection(index);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user