Wish enumerate custom views in activity

Discussion in 'Bugs & wishlist' started by MarkusR, May 15, 2019.

  1. MarkusR

    MarkusR Well-Known Member Licensed User

    enumerate through activity objects / views did not return the original custom view class for some reason.
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    You are not posting in the correct place. You should post it in the questions forum.
     
  3. MarkusR

    MarkusR Well-Known Member Licensed User

    my intent was having this.
    Code:
    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.
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    JavaObject has nothing to do with this. Custom views are not views by themselves so the class instances will never be directly in the views tree. For further discussion start a new thread in the questions forum.
     
    Peter Simpson likes this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice