How the Screen::JSMOC(const Rect & invalidatedArea,Drawable * widgetToDraw) works?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-02-21 12:37 AM
I have some trouble with the JSMOC method.
In my application,one screen could contain many(over 3000) widgets.Because of the recursive JSMOC function,it can easily cause a stack overflow.
Like this:
- Labels:
-
TouchGFX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-02-21 5:46 AM
Why do you have this many? Seems unreasonable. I feel we can optimize something in this application : ) Tell me about it?
/Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-02-21 6:08 AM
Hi Martin.
Our product is a writing pad.The more you write the more widgets will be added to the screen.
Here is the product.
What is clear is that recursion caused a stack overflow.
Looking forward to your reply.
Thanks!
