Hi guys, first of all, Happy Easter to everybody!
I always used FindViewByTag to retrieve a standard view inside a container.
With non standard views (such, BUT NOT ONLY: CustomListViews) this functions seems not to work.
Is there a standard way to achieve my goal? I have to load several layouts inside an activity (one at a time, but they have different views inside).
In this code, the IS statement is useless...
Thanks in advance
I always used FindViewByTag to retrieve a standard view inside a container.
With non standard views (such, BUT NOT ONLY: CustomListViews) this functions seems not to work.
Is there a standard way to achieve my goal? I have to load several layouts inside an activity (one at a time, but they have different views inside).
In this code, the IS statement is useless...
B4X:
For Each V As View In P.GetAllViewsRecursive
If V Is CustomListView Then
Return true '<-- This line is never reached !
End If
Next
Thanks in advance