avast / android-styled-dialogs

Backport of Material dialogs with easy-to-use API based on DialogFragment
Apache License 2.0
2.15k stars 450 forks source link

How could I get an Object in callback #119

Closed jifffffy closed 9 years ago

jifffffy commented 9 years ago

I want to get an obejct in below callback not int type, what should i do?

Override public void onPositiveButtonClicked(int requestCode) { }

davidvavra commented 9 years ago

You should probably create your own dialog extending BaseDialogFragment and define your own callbacks.