Having problem with xcustomlistview. How to make app with customlistview modify images in any of the loaded rows change to to a specific pic after clicking on button. My test app can only change the first row. Can not figure out how to change any specific image in the listview rows. See following partial listing of code; I'm a newbeee ofcourse). See listing of sction of code that attempts to change specific image files. Seems straight forward but I'm baffled. The program loads roughly 10+ images or more into listview panels but no sucess in changeing these images once they are loaded, except for one listview row. Cant seem to access the others.
The original code came from Erel's example mostly. Take a look at: Sub btn_Click, which does not work well.
Sub Btn1_Click
Dim pnl As Panel
pnl = CLV1.GetPanel(0)
ImageView1= pnl.GetView (0)
ImageView1.Bitmap = LoadBitmapResize(File.DirAssets,"skulledPlayer-1.bmp", 32dip, 32dip, True)
Log ("testview Btn1_Click")
End Sub
The original code came from Erel's example mostly. Take a look at: Sub btn_Click, which does not work well.
Sub Btn1_Click
Dim pnl As Panel
pnl = CLV1.GetPanel(0)
ImageView1= pnl.GetView (0)
ImageView1.Bitmap = LoadBitmapResize(File.DirAssets,"skulledPlayer-1.bmp", 32dip, 32dip, True)
Log ("testview Btn1_Click")
End Sub