Hello! Can anybody help me with my problem regarding bblistitem?
When I comment blocked line 13-14 it will run with no error, but it doesn't show the content (see attachment)
And removing comments from this line got an error (see attachment)
Additional info... I am using two layouts
1 for category and 2 for the contents.
When I comment blocked line 13-14 it will run with no error, but it doesn't show the content (see attachment)
And removing comments from this line got an error (see attachment)
B4X:
Private Sub clvFAQs_ScrollChanged (Offset As Int)
For i = 0 To clvFAQs.Size - 1
Dim pnl As B4XView = clvFAQs.GetPanel(i)
' Log(pnl.GetView(0).NumberOfViews)
' If pnl.GetView(0).NumberOfViews > 0 Then
' For j = 0 To pnl.GetView(0).NumberOfViews - 1
' Dim mView As View
' mView = pnl.GetView(j)
' Log(GetType(mView))
' Next
' End If
If pnl.NumberOfViews = 0 Then Return
Dim BB As BBListItem = pnl.GetView(1).GetView(1).GetView(BBListItemIndexInItems).Tag
BB.ParentScrolled(Offset, clvFAQs.GetRawListItem(i).Offset, clvFAQs.AsView.Height, pnl.GetView(0).Height)
Next
End Sub
Additional info... I am using two layouts
1 for category and 2 for the contents.