Java Question Converting another Java Map to a B4A Map

DonManfred

Expert
Licensed User
Longtime User

This is the output of

B4X:
Sub Drive_Meta(Success As Boolean, meta As Metadata)
    Log($"Drive_Meta(${Success},${meta})"$) 
    'Log(meta.CustomProperties)
    Log(meta.CustomProperties2)
End Sub

CustomProperties2 returns a
B4X:
java.util.Map<CustomPropertyKey, String>
It looks somehow that these Values are not seen in java. Or hidden somehow. Maybe i just don´t know how to access them

All i get is {}

I would like to parse this into a Map to use the values in B4A

I tried to adapt JMapToB4AMap but failed.

Can somebody help me parsing the
B4X:
java.util.Map<CustomPropertyKey, String>
?
 
Last edited:
Cookies are required to use this site. You must accept them to continue using the site. Learn more…