eltos / SimpleDialogFragments

An Android library to create dialogs with ease and handle user interaction reliably, using fragments and material design.
Apache License 2.0
119 stars 17 forks source link

Support receiving results by parent fragments #11

Closed eltos closed 7 years ago

eltos commented 7 years ago

Better support for nested fragments:

Recursively walk through [getParentFragment](https://developer.android.com/reference/android/app/Fragment.html#getParentFragment()) (starting with the target fragment) in callResultListener until it returns null. Only then use getActivity.

(API17+ only)