Continued from https://forums.coronalabs.com/topic/52564-scrollview-runtime-errors/ because this is not a CoronaCards related problem.
Ok so far I’ve tried:
1) Downloading “widget_theme_ios7.png” from https://github.com/coronalabs/framework-widget , putting it inside my root folder and setting up the theme right after widget library is called like:
local widget = require “widget”
widget.setTheme( “widget_theme_ios7” )
**2) **Downloading widget.lua / widget_scrollView.lua / widget_momentumScroll.lua from framework-widget/widgetLibrary folder and putting them inside my root folder, call widget from my lua file.
3) Using timer.performWithDelay
For 1) it just didn’t do anything.
When I used 2) the folder in the error changed from
Users/jenkins/slaveroot/workspace/Templates/label/android/subrepos/widget/widgetLibrary/widget_momentumScrolling.lua
to my app’s folder in the phone. I combined 1) and 2) and same error as before.
For 3) … I kinda tested with it for a bit, didn’t work. If i want to fully apply it i’ll need to change my code because I’m removing any scrollView active and right after that creating the new one, so I’d need to performWithDelay everything, not just removing the scrollView.
Is there a real solution for this? First post is almost 1 year old and I know this might not happen all the time, depending on your game and how you use your UI, but it might be limiting to certain points and it’s still a potential runtime error that exits the APP, so it’s a real problem.
Best Regards,