Hi, so my app get the list of purchased items and returns them in a map. I want to check if the map is empty to I make an empty map and use an if statement to see if the purchases map is empty. But even though both of the maps match according to the log, it still says they don't. Thanks!
Log:
B4X:
(MyMap) {}
(MyMap) {}
Code:
B4X:
Sub iab_OwnedProducts (Success As Boolean, Purchases As Map)
Dim None As Map
None.Initialize
Log(None)
Log(Purchases)
If Purchases = None Then
ToastMessageShow("No Purchases!", True)
End If
End Sub