mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
more string fixes
This commit is contained in:
@@ -650,7 +650,7 @@ function getTextFromNativeElementAt(listView: listViewModule.ListView, index: nu
|
||||
if (listView.android) {
|
||||
var nativeElement = listView.android.getChildAt(index);
|
||||
if (nativeElement instanceof android.view.ViewGroup) {
|
||||
return (<android.widget.TextView>((<any>nativeElement).getChildAt(0))).getText();
|
||||
return (<android.widget.TextView>((<any>nativeElement).getChildAt(0))).getText() + "";
|
||||
}
|
||||
return (<android.widget.TextView>nativeElement).getText() + "";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user