Listview Question How to get String NOT Value???

WhataJeff

Member
Licensed User
Longtime User
Ok,

I gave up on this one. I add an item to my listview using addsingleline2:

lstView.AddSingleLine2("This is the text I need", "This my hidden Value")

So,

I retrieve the value with:

MyValue = lstView.getItem(0)

I understand that it should return : "This is my hidden Value"

I cannot for the life of me find how to get:

"This is the text I need"

How the heck do you get it?


Thanks everyone

J
 

WhataJeff

Member
Licensed User
Longtime User
Thanks,

I'm still not quite there. it seems the example is using

ListView1.AddTwoLines2(lvd.FirstRow, lvd.SecondRow, lvd)

AddTwoLines. I am using

AddSingleLine2

I tried to implement but get an error by:

B4X:
Dim lvd As ListViewData 
       lvd.Initialize
       lvd = lstElements.GetItem(0)


It doesnt seem to translate

J
 
Upvote 0
Top