Wish enumerate custom views in activity

MarkusR

Well-Known Member
Licensed User
enumerate through activity objects / views did not return the original custom view class for some reason.
 

MarkusR

Well-Known Member
Licensed User
my intent was having this.
B4X:
    For Each MyCustomViewX As MyCustomView In Activity.GetAllViewsRecursive
        Log("Found")
    Next
if this can be already done (without java object detours) then i posted in the wrong place.
java.lang.ClassCastException: anywheresoftware.b4a.BALayout cannot be cast to com.example.turn.mycustomview
 
Top