Fragmentize UserDictionary.

Depending on I2c962726b0adc8811c18dd6df7ff7bdc93c31a07, which
implements DialogCreatable.

Change-Id: I9857e592218731bfbddc578c15180cc681fa4d20
This commit is contained in:
Daisuke Miyakawa
2010-09-12 17:27:33 -07:00
parent 21c1abcef7
commit f58090d522
5 changed files with 92 additions and 69 deletions

View File

@@ -32,6 +32,11 @@ import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
/**
* Letting the class, assumed to be Fragment, create a Dialog on it. Should be useful
* you want to utilize some capability in {@link SettingsPreferenceFragment} but don't want
* the class inherit the class itself (See {@link ProxySelector} for example).
*/
interface DialogCreatable {
public Dialog onCreateDialog(int dialogId);
}