How to implement callback for setAnimationEndedCallback?
Hi,
I use scrollList1.animateToItem (cursorpos, 14); and I need to wait for the animation to ended. I saw examples of implementing callback in user code for boxMoveAnimationEndedCallback and boxFadeAnimationEndedCallback here https://support.touchgfx.com/docs/development/ui-development/touchgfx-engine-features/mixins/#callback-implementation-in-user-code but its little different and when I tried implementing callback for setAnimationEndedCallback it was without success. If someone could share an example or how to do it, it would be very nice, thank you!
