Call a variable amount of function #60
-
Hi ! First of all thanks for the great library, it's really useful and clear ! I have a problem with the LiquidLine::call_function method. How it works from what I understand from the source code is that it checks if the amount of function given as parameters is valid. If it is, it calls the function, else it does nothing. My problems lies in the fact that some line have multiple function in my menu. For example some just have a gotoOtherMenu function but some have a goto to change the screen + an other function. My buttonsCheck function look like this :
The only workaround that I have found is to have all Line object have the same amount of function attached with x amount of empty function attached. Thanks in advance, Anthony |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Nevermind I was not understing how it works properly, i'll just do this :
Sorry for creating an issue, have a great day Anthony |
Beta Was this translation helpful? Give feedback.
Nevermind I was not understing how it works properly, i'll just do this :
Sorry for creating an issue, have a great day
Anthony