Hello, I wanted to print some images obtained from a URL stocked in a SQLite DB. I don't really know how to do it. i implemented some code in job done to apply images into panel's image views but still having issues. Some one knows how to do it ?
B4X:
Sub JobDone(Job As HttpJob)
If Job.Success Then
Dim index As Int = CustomListView1.GetItemFromView(Sender)
Dim item As CLVItem = CustomListView1.GetRawListItem(index)
Dim p As Panel = item.Panel.GetView(0)
Dim Img_MenuPic As ImageView = p.GetView(0)
Img_MenuPic.Bitmap = Job.GetBitmap
End If
Job.Release
End Sub
Better to use BitmapsAsync: https://www.b4x.com/android/forum/threads/b4x-bitmapsasync.119589/#content Example of showing online images, which are downloaded from flickr as the user scrolls the list. The list is smooth and works very nice (in release mode). This example demonstrates several...
Better to use BitmapsAsync: https://www.b4x.com/android/forum/threads/b4x-bitmapsasync.119589/#content Example of showing online images, which are downloaded from flickr as the user scrolls the list. The list is smooth and works very nice (in release mode). This example demonstrates several...