The attached is a modified version of the geocoder sample code. My concern is Task 1. The Watch window shows that Address1 contains all correct information and Address1.AddressLines.size=1. But during debug session, the code Address1.AddressLines.Size>0 returns false. It would be greatly appreciated if someone could tell me what's wrong.
Sample code and screenshot attached
Logs:
Sample code and screenshot attached
Logs:
B4X:
Logger connected to: asus ASUS_Z012DC
--------- beginning of main
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
Task 2 done
2 : Address1.AddressLines.Size is 0
2 : Address1.AddressLines.Size is 0
2 : Address1.AddressLines.Size is 0
2 : Address1.AddressLines.Size is 0
2 : Address1.AddressLines.Size is 0
Task 1 done
1 : Address1.AddressLines.Size is 0
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
Task 2 done
2 : Address1.AddressLines.Size is 0
2 : Address1.AddressLines.Size is 0
2 : Address1.AddressLines.Size is 0
2 : Address1.AddressLines.Size is 0
2 : Address1.AddressLines.Size is 0
Task 1 done