Dear
I have try too using CLV VisibleRangeChanged, but i have some problem with panel height.
The panel item in CLV didn't load full page.
My code like this
I had try add height in panel height like this
this the result
Anyone know how to solve this panel height problem?
Thanks
Nicky
I have try too using CLV VisibleRangeChanged, but i have some problem with panel height.
The panel item in CLV didn't load full page.
My code like this
Private Sub clvhistory_VisibleRangeChanged (FirstIndex As Int, LastIndex As Int)
For Each i As Int In Pclvhistory.VisibleRangeChanged(FirstIndex, LastIndex)
Dim item As CLVItem = clvhistory.GetRawListItem(i)
Dim pnl As B4XView = xui.CreatePanel("" )
'Dim pnl As Panel
item.Panel.AddView(pnl , 0, 0, item.Panel.Width, item.Panel.Height)
pnl.LoadLayout("pgmenuhistoryitem")
Dim ItemHistory1 As ItemHistory
ItemHistory1 =item.Value
lblmenuhistoryitem_no.Text =ItemHistory1.nobaris
Next
End Sub
I had try add height in panel height like this
but this not make any change in my viewitem.Panel.AddView(pnl , 0, 0, item.Panel.Width, item.Panel.Height+200)
this the result
Anyone know how to solve this panel height problem?
Thanks
Nicky