I have downloaded BitmapAsync example as my base to build the product listing (*Putting the Customlistview into my own Customview - Trying to modularize everything)
The issue here is :
I am able to add panels and into Customlistview (* List Orientation - Vertical)
but when i set Customlistview - Orientation to Horizontal, Nothing appears. (*I need it to work on Horizontal)
Please find attached small project example. (*Everything runs well in Android BUT not in IOS)
It looks like a bug in PreoptimizedCLV. I need to further check it.
Tip 1:
B4X:
Public Sub DesignerCreateView (Base As Object, Lbl As Label, Props As Map)
mBase = Base
Tag = mBase.Tag
mBase.Tag = Me
CallSubDelayed2(Me, "AfterLoadLayout", Props)
End Sub
Private Sub AfterLoadLayout(Props As Map)
mBase.Color=xui.Color_Transparent
End Sub
Simpler:
B4X:
Public Sub DesignerCreateView (Base As Object, Lbl As Label, Props As Map)
mBase = Base
Tag = mBase.Tag
mBase.Tag = Me
Sleep(0)
mBase.Color=xui.Color_Transparent
End Sub
Tip 2: It will be simpler to use SimpleMediaManager instead of BitmapsAsync. It is however not related to this issue.
Thank you so very much Erel. Estimate when can this PreoptimizedCLV bug be fixed? Sorry have rush you on this as we have dateline to complete this project.
* The bug only exist with B4i. In B4A android is working fine.
Else we will have to find other alternatives..?... ? ?
This is xCustomListView Horizontal Items isssue I just discoverd in B4i. It's true that it's my first experience with b4i but this code works in B4A. What I'm I doing wrong.
Wow! Super fast erel.. Thanks. Tested on horizontal - everything works as expected.
Such a great support. Not only that i love B4A/B4i, the whole team and company is so very responsive. * Made the right choice why i ditch Flutter and changed to B4i/B4A