You just need to pass in the FragmentManager. Please note, that the library has android support library as dependency and you need the FragmentManager from support lib. To get callbacks into the activity, you need to do the same as in fragment - make your activity implement the callback interface, e.g. ISimpleDialogListener and that's it.
Dialogs work the same way in activity as in Fragment:
You just need to pass in the FragmentManager. Please note, that the library has android support library as dependency and you need the FragmentManager from support lib. To get callbacks into the activity, you need to do the same as in fragment - make your activity implement the callback interface, e.g.
ISimpleDialogListener
and that's it.