How can I show a multi page pdf in a CustomlistView and set each page so that the user is able to zoom the image?
I also tried using Webview but it does not work:-
B4X:
dim image as imageview
Private CLV1 As CustomListView
For i = 0 To pdf.PageCount-1
Dim p As B4XView = xui.CreatePanel("")
p.SetLayoutAnimated(0, 0, 0, CLV1.AsView.Width,CLV1.AsView.Height)
p.LoadLayout("Card1")
image.Bitmap = pdf.renderPageforDisplay(i)
WebView1.SetBackgroundImage(image.Bitmap)
CLV1.Add(p,WebView1)
next
However it will probably won't work properly inside CLV as both views are scrollable. I suggest you to show a B4XDialog with the WebView when the user clicks on the item.