Sub FilterSearch As ResumableSub
Dim lasti As Int = CLVItemList.Size
CLVItemList.Clear
For Each ID As sItemData In formSzamlaMain.sList
Dim lID As sItemData = ID
Dim Pnl As B4XView = xui.CreatePanel("")
Pnl.SetLayoutAnimated(0, 0, 0, CLVItemList.AsView.Width, 100dip)
If CLVItemList.Size = lasti Then
ID.Tag = 10
Else
ID.Tag = 0
End If
CLVItemList.Add(Pnl, lID)
Next
frmszamlacikkek.Title = $" ${CLVItemList.Size} SZÁMLÁZOTT TERMÉKEK"$
CLVItemList.sv.Visible = True
'If CLVItemList.Size > 0 Then
'CLVItemList.JumpToItem(lasti) <--------------------- doesn't work here
' Sleep(0)
'End If
Return True
End Sub