Android Question Print a picture in CLV from a URL obtained from an SQLite DB

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

Thank you

My project : https://drive.google.com/drive/folders/1_7ML8MMaIYukhGNhp35B-SWXBXFOGUz5?usp=sharing
 

AnandGupta

Expert
Licensed User
Longtime User
Hi 2SucresCelestin

The below example loads from web (flicker), may help you to get the idea of loading,
 
Upvote 0
Thank you !
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…