When I first built a skinny version of my app with dummy data displaying in the Listview, it always returned the first line of text in the Value field. Recently that changed. Could it be a bug in the update?
ListView returns by default the Text of the first line.
Or using one of the following Methods AddSingleLine2, AddTwoLines2 or AddTwoLinesAndBitmap2 allows to define the return value, with these you can return more information than just with the text of the first line.
ListView returns by default the Text of the first line.
Or using one of the following Methods AddSingleLine2, AddTwoLines2 or AddTwoLinesAndBitmap2 allows to define the return value, with these you can return more information than just with the text of the first line.
But it isn't returning text by default in my case.
This is how I populate the listview
ListView1.AddTwoLines2(Cursor.GetString("stop_code") & " " & Cursor.GetString("stop_name"), (Round2( 100 * Sqrt(Cursor.GetString("DistanceSquared")),2)) & " km", i)
If I just do this then it works.
ListView1.AddTwoLines("Route 12","Stop 1134 20m")