Hello,
I want the list to scroll to top everytime searchview is loaded. In searchview module, I tried to set lv.scrollto but it needs a section (and row) to scroll to but I don't use sections there. Is there an easier way to scroll to top for this?
Best,
edit: I have managed to use this sub to call it from the main module to scroll to top:
I want the list to scroll to top everytime searchview is loaded. In searchview module, I tried to set lv.scrollto but it needs a section (and row) to scroll to but I don't use sections there. Is there an easier way to scroll to top for this?
Best,
edit: I have managed to use this sub to call it from the main module to scroll to top:
B4X:
Public Sub lvscroll
lv.AddSection("","")
lv.ScrollTo(0,0,lv.SCROLL_TOP)
End Sub
Last edited: