mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-17 04:41:36 +08:00
new android runtime properties modules fixed
This commit is contained in:
@ -450,7 +450,7 @@ function getNativeViewCount(listView: listViewModule.ListView): number {
|
||||
|
||||
function performNativeItemTap(listView: listViewModule.ListView, index: number): void {
|
||||
if (listView.android) {
|
||||
listView.android.performItemClick(listView.android.getChildAt(index), index, listView.android.Adapter.getItemId(index));
|
||||
listView.android.performItemClick(listView.android.getChildAt(index), index, listView.android.getAdapter().getItemId(index));
|
||||
}
|
||||
else if (listView.ios) {
|
||||
// Calling selectRowAtIndexPathAnimatedScrollPosition will not tiger [Will|Did]SelectRowAtIndexPath callbacks.
|
||||
|
@ -374,7 +374,7 @@ export function test_set_value_min_max_have_correct_values_after_load() {
|
||||
|
||||
function getNativeValue(slider: sliderModule.Slider): number {
|
||||
if (slider.android) {
|
||||
return slider.android.Progress;
|
||||
return slider.android.getProgress();
|
||||
}
|
||||
else if (slider.ios) {
|
||||
return slider.ios.value;
|
||||
|
Reference in New Issue
Block a user