Android Question Can I Calling a view by name?

Discussion in 'Android Questions' started by Heppy, Mar 13, 2015.

  1. Heppy

    Heppy Active Member Licensed User

    In Delphi for example:


    I can do this in B4A?

  2. sorex

    sorex Expert Licensed User

    no, but you can iterate through a collection of views belonging to a panel (or activity?)

    look foor panel.getallviewsrecursive
  3. DonManfred

    DonManfred Expert Licensed User

    you can even put all your views into a map giving them a name.
    Set the name and put the View as Object into this map.
    Later you then can get the view out of this map using the name you set when putting the view into the map
    Erel likes this.
  4. Heppy

    Heppy Active Member Licensed User

    Thanks for your quick response

    Sorry for my english
  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