Add a field and its setter to a built-in class.
Hello!
I have a swipe container with 3 pages in my TouchGFX app, running on an STM32F469 Discovery Kit. Everything is working fine, but I need to carry out certain actions when a swipe is started / ended. The docs state there are no built-in triggers for touchgfx::SwipeContainter, so I decided to add my code to it.
But as soon as I add a field (GenericCallback) and this field's setter method to this class and invoke this method from my code, the UI becomes unresponsive. I guess the app just crashes.
What am I doing wrong?
Thanks.