问题
To create the dialog, I'm overriding the following method:
protected Dialog onCreateDialog(final int dialogId) {
}
and to call this, I'm using:
showDialog(id);
But now I want to use FragmentDialog
, but there is no method like:
protected Dialog onCreateDialog(final int dialogId) {
}
It has
Dialog onCreateDialog(Bundle savedInstanceState){}
My question is, how can I show dialogs based on different id's in FragmentDialog
.
来源:https://stackoverflow.com/questions/12818342/dialog-oncreatedialogint-dialogid