Abstracting away complexities of working with dialogs in Android
Using approach described in this project one can forget about such thing as managing DialogFragments state on activity recreation (it may be caused by device rotation, for example) By managing state I mean:
- dialog recreation
- dialog listeners reattachment
- persistence of data needed for DialogFragment
See example and lib code for more info