Hi I'm working with the customlistview library and just tweaking it and seeing what happens. Right now I'm trying to get it to display an image in the list put can't get it working quite right. See the attachment below. Basically what i've done is replaced a couple lines in CreateListItem with these:
When I run it the program pauses at the line where height is set. I'm a newbie to this and just trying to get my head around working with images. See attachment for full code
B4X:
Dim ImageView1 As ImageView
ImageView1.Initialize("")
ImageView1.Bitmap = LoadBitmap(File.DirAssets, "splash_zone2.jpg")
ImageView1.Height = 20
ImageView1.Width = 20
p.AddView(ImageView1, 280dip, 2dip, 50dip, Height - 4dip) 'view #2
When I run it the program pauses at the line where height is set. I'm a newbie to this and just trying to get my head around working with images. See attachment for full code