We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4680a7a commit 127809cCopy full SHA for 127809c
internal_filesystem/lib/mpos/apps.py
@@ -345,6 +345,8 @@ def _launch_activity(intent, result_callback=None):
345
activity.intent = intent
346
activity._result_callback = result_callback # Pass callback to activity
347
start_time = utime.ticks_ms()
348
+ # Remove objects from previous screens from the focus group:
349
+ lv.group_get_default().remove_all_objs() # might be better to save and restore the group for "back" actions
350
activity.onCreate()
351
end_time = utime.ticks_diff(utime.ticks_ms(), start_time)
352
print(f"apps.py _launch_activity: activity.onCreate took {end_time}ms")
0 commit comments