mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-17 04:41:36 +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) {
|
||||
if (this._android) {
|
||||
this._android.smoothScrollToPosition(index, );
|
||||
this._android.setSelection(index);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user