Ordering from the Popup Menu


#1

I’m using a PopupMenu with showat() in a modal fashion.

If I remember right, is this deprecated? Something about not working on some platforms (Android?) What is the safe way to do this?


#2

In a standalone app it’s probably fine to use modal loops, but the best way to write safe code is to use a callback instead, with PopupMenu::showMenuAsync().

Yep, it’s Android that doesn’t support modal loops at all, but iOS also tries to avoid them, (although I added some hackery to make it possible).