mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 03:31:45 +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;
|
||||
|
@ -98,7 +98,7 @@ export class ListView extends common.ListView {
|
||||
return;
|
||||
}
|
||||
|
||||
(<ListViewAdapter>this.android.Adapter).notifyDataSetChanged();
|
||||
(<ListViewAdapter>this.android.getAdapter()).notifyDataSetChanged();
|
||||
}
|
||||
|
||||
public _onDetached(force?: boolean) {
|
||||
|
Reference in New Issue
Block a user