mirror of
https://github.com/wismna/DoNext.git
synced 2025-10-03 07:30:13 -04:00
Correction of exception when rotating with dialog open
This commit is contained in:
@@ -51,6 +51,8 @@ public class TaskDialogFragment extends DialogFragment {
|
||||
fragment.task = task;
|
||||
fragment.taskLists = taskLists;
|
||||
fragment.mListener = newTaskListener;
|
||||
// TODO: keep dialog open when rotating
|
||||
fragment.setRetainInstance(true);
|
||||
return fragment;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user