Android Question Class and different modules

Discussion in 'Android Questions' started by brianwiz12, Aug 10, 2019.

  1. brianwiz12

    brianwiz12 Member Licensed User

    Hello,

    I like how you can load a class and it loads everything including the layout.

    I have multiple different modules/layouts.

    How can i get one class to cover multiple ones?
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    I'm not sure that I understand the question however you can call Panel.LoadLayout as many times as you like.
     
  3. brianwiz12

    brianwiz12 Member Licensed User

    Hello,

    Let me try to explain it a bit better.

    I have lets say 5 modules. They all load different .bal files (IE main, second, third, forth)

    The class for appcompat loads a predefined .bal one called (layout)

    The question is can a class be customized more to load different .bal files / On the other end can i take the .bal portion of the class out and just load the appcompat code in it.
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    Yes.

    There is no such thing. There is no special connection between layout files and modules. The only relation is that when a layout is loaded the relevant global variables and the event subs are set.
     
  5. brianwiz12

    brianwiz12 Member Licensed User

    Thank you for the reply verifying a class can be customized to load different .bal files
     
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