Mirror of git://xwords.git.sourceforge.net/gitroot/xwords/xwords
Find a file
Eric House 269fceddf2 cleanup around posting alerts; skip back-stack
Had to disable use of the back-stack for DialogFragments, though that
means I can't prevent duplicates from stacking up (esp. in the
pathological robot-vs-robot case, but also just when I rotate the device
while a "rematch" alert is up.) The problem seems to be in dismiss
actions being handled too late. One easy-to-duplicate case is the
tile-picker. When it's enabled and you commit a turn I post first the
confirmation and then, in response to a "yes", the picker. But the
picker gets added to the stack moments before the confirmation is
removed, and it's the nature of stack removal that everything above
what's being removed gets pulled too. So you never see the
picker. Simply post()ing a runnable to put the picker up later fixes
this one case, but a similar trick doesn't work elsewhere, so I'm
punting until I have time to root-cause the problem.
2017-04-13 08:18:07 -07:00
xwords4 cleanup around posting alerts; skip back-stack 2017-04-13 08:18:07 -07:00
.gitignore ignore generated files and build files 2017-04-08 11:04:23 -07:00
.projectile fix duplicate permissions 2017-01-19 06:22:12 -08:00