My app has 3 “screens”, but can’t keep in memory all at once (only 16K RAM). Is there any simple way to destroy all widgets on screen prior to create new one?
Ideally, i’d like:
- Destroy all active screen widgets with allocated memory
- Destroy all attached metadata (user data or ext_attr data)
Could not find recommendations in doc about that. Could you advice? I’d like to avoid manual tracking of everything.