Listview ItemData property

CidTek

Active Member
Licensed User
Longtime User
Is there anything similar to, or plans to implement a property similar to the VB ListView ItemData?

I need to pass undisplayed values associated with each row in a listview when the row is tapped.
 

Jim Brown

Active Member
Licensed User
Longtime User
Would the AddSingleLine2() help?

You can add a different return value to that displayed
B4X:
Dim lv As ListView
lv.AddSingleLine2("click me","return this message")
 
Upvote 0

CidTek

Active Member
Licensed User
Longtime User
Would the AddSingleLine2() help?

You can add a different return value to that displayed
B4X:
Dim lv As ListView
lv.AddSingleLine2("click me","return this message")

Brilliant - that will do it!

Thanks - you just saved me from writing a bunch off arrays to store data.
 
Upvote 0
Top