Android Question unknown member: tag

67biscuits

Member
'generics
Public clv As CustomListView

B4X:
Private Sub clv_ItemClick (Index As Int, Value As Object)
    Dim lv As CustomListView = Sender
    Dim t As Int = lv.tag        'this line throws unknown member: tag error message
     
    Log($"Generic ${t}"$)
    
End Sub

I know this has come up before, in a post back in 2020, I must be doing some wrong. I have similar instances elsewhere that DO NOT have this issue. IS it just about CustomListViews??
 

67biscuits

Member
so it's just peculiar to the customlistview,then? is there a 'modern' way to implement the structure? I have 5 clvs the user can 'pick' from to delete elements
 
Upvote 0
Top