mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-09 05:24:44 +01:00
07da48db73
For GamesListDelegate only so far, replace calling <activity>.show(int) to launch an Alert with something producing and showing a DialogFragment. Replaces passing and saving state inside the DelegateBase subclass with saving it as part of the fragment's bundle, and it looks as if a single class will work for nearly all of the alerts managed by DelegateBase.{onCreateDialog,prepareDialog}(), which will eventually go away. The beauty is that the implementations of onCreateDialog and onPrepareDialog remain, but as the body of a new makeDialog() that's called by the fragment's onCreateView. Less code changes, but now it's all called every time an alert's created. |
||
---|---|---|
.. | ||
src | ||
build.gradle | ||
debug.keystore |