Hi,
I've a StdViewPager with 6-7 pages. Each page has views based in same layout.
I need to iterate in all Views looking for a specific Tag contained inside of a StdViewPager.
If i go to page 3 for example and then iterate with GetAllViewsRecursive just found Views contained in current page and in best case the contiguous page.
If i go to page 4 and iterate again then GetAllViewsRecursive found the view.
NOTE: I've changed the StdViewPaget with an HorizontalScrollView and GetAllViewsRecursite works perfect... but when it is 'swiped' scroll to infinite... any way to stop in each panel? simulating scroll page by page?
Thanks !
I've a StdViewPager with 6-7 pages. Each page has views based in same layout.
I need to iterate in all Views looking for a specific Tag contained inside of a StdViewPager.
If i go to page 3 for example and then iterate with GetAllViewsRecursive just found Views contained in current page and in best case the contiguous page.
If i go to page 4 and iterate again then GetAllViewsRecursive found the view.
NOTE: I've changed the StdViewPaget with an HorizontalScrollView and GetAllViewsRecursite works perfect... but when it is 'swiped' scroll to infinite... any way to stop in each panel? simulating scroll page by page?
Thanks !
B4X:
For Each v As View In Activity.GetAllViewsRecursive
if v is Imageview then
dim iv as imageview = v
[...]
end if
Next
Last edited: