-
• #2
Ahh - yes,
E.showPrompt
has to remove your layout's input handlers so they don't get called when you tap on the screen.To re-add them, I think it should be fine to just do
layout.setUI();layout.render();
although I think if you're using 'lazy' rendering you might need alayout.forgetLazyState()
beforelayout.render();
Just FYI you only need to call
Bangle.loadWidgets();
once at the start of your app - once they're loaded they don't need re-loading. -
• #3
Hi Gordon, thanks for the great answer. It resolved my issue. I was lazy rendering so I had to call layout.setUI(); layout.forgetLazyState(); layout.render(); and everything is working fine.
Thanks
-
• #4
Great! That that fixed it! I'll add a note to the docs too
I have created a layout using Layout Library and want to prompt the user to confirm something, after the user selection, the screen goes blank and I can't seem to re-render the app.