Android Question custom list view click handling

Tomas Petrus

Active Member
Licensed User
Hi guys
I am implementing XUI CustomListView, but I am unable to handle the click properly...

B4X:
Sub HomeClv_ItemClick (Index As Int, Value As Object)
    LoadDetailZakazky
End Sub

I were following some tutorial and using ItemValue as following
B4X:
Type ItemValue (BeruBtn As Button, NeberuBtn As Button, Nastup As String, Tag As String)

in Values I have
B4X:
[BeruBtn=(Button) Not initialized, IsInitialized=true, Nastup=adresa, NeberuBtn=(Button) Not initialized, Tag=5494]

How the bloody hell can I parse Tag from Values which is the order ID that I need to make another API call for details of the order.

Thanks a lot
been stuck a while.
 
Top