Android Question get text from ListViews.AddTwoLinesAndBitmap2 and show in a label

Ramezanpour2

Member
Licensed User
Longtime User
hi dears

im have a listview with items and valu in my app (ListViews.AddTwoLinesAndBitmap2)

now i want to when im click on listview items then show clicked item text in a label .....


B4X:
  Dim simUri As Uri
  simUri.Parse("content://icc/adn")
  Dim crsr As Cursor = cr.Query(simUri, Null, "", Null, "")
  For i = 0 To crsr.RowCount - 1
  crsr.Position = i
    
    
    ListViews.AddTwoLinesAndBitmap2(crsr.GetString("number"),crsr.GetString("name") ,LoadBitmap(File.DirAssets,"co.png"),i)
next
 
Top