mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-08 05:24:39 +01:00
7634c425ef
There's a problem in dual-pane mode where activites outlive DelegateBase instances that are tied to fragments. AlertDialogs, being bound to the MainActivity, can sometimes outlive the delegates that create them, meaning the 'this' referred to from closures bound to onClick() handlers can come to be invalid (e.g. referencing a removed fragment). So add a global registry of current DelegateBase instances by class, and from onClick() handlers fetch and use the current instance instead of the 'this' that's bound. |
||
---|---|---|
.. | ||
android | ||
common | ||
dawg | ||
debian | ||
linux | ||
relay | ||
scripts | ||
tests | ||
wince | ||
Makefile |