Android Question List View Change Content

victormedranop

Well-Known Member
Licensed User
Longtime User
HI, everyone.

one question :

if I have a listview like this
B4X:
ListView1.AddTwoLinesAndBitmap(trim_string(titulo),"",LoadBitmapSample(File.DirAssets,"play2.png",25dip,25dip))

is there a way to change the content of an specific position in the listview without
running everything again?

thanks,

Victor
 

victormedranop

Well-Known Member
Licensed User
Longtime User
i found the problem.
missing function.


AMAZONG LIB !!!!!

B4X:
emisoras_list.Add(Info)
Log("Canales List size : " & emisoras_list.Size)
Dim ItemInfo As typInfo, LastWebSite As String
For i = 0 To emisoras_list.Size - 1
ItemInfo.Location = emisoras_list.Get(i)
If GetSiteName(ItemInfo.Location) <> LastWebSite Then
emisoras_view.AddItem("SiteSeparator", i)
LastWebSite = GetSiteName(ItemInfo.Location)
End If
emisoras_view.AddItem("Bitmap2Lines", i)
Next
emisoras_view.AddItem("SiteSeparator", -1)
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…