I am a bit lost here...have searched the forum but could thus far not find a suitable solution.
I have an ArrayList in a wrapper that is defined as follows:
It is returned to the B4A project via:
My B4A event is as follows:
When I log "clients" in the B4A code I get for eg:
Each "clients" object consists of 3 x Strings and 1 x Boolean. How do I extract this from the "clients" object that is returned to B4A?
Can someone please advise on this?
Thanks
I have an ArrayList in a wrapper that is defined as follows:
B4X:
ArrayList<ClientScanResult> clients
It is returned to the B4A project via:
B4X:
ba.raiseEvent2(ba, false, eventName + "_scan_result", true, new Object[] {clients});
My B4A event is as follows:
B4X:
Sub hotspot_scan_result (clients As Object)
When I log "clients" in the B4A code I get for eg:
B4X:
[main.java.ClientScanResult@42c97f00]
Each "clients" object consists of 3 x Strings and 1 x Boolean. How do I extract this from the "clients" object that is returned to B4A?
Can someone please advise on this?
Thanks