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

Is there any way to build a customized builder based on this library? #56

Closed NeoLSN closed 10 years ago

NeoLSN commented 10 years ago

I want a input dialog fragment let user can type some thing and get the response. Is there any way to build a customized builder based on this library?

davidvavra commented 10 years ago

Sure, just extend BaseDialogFragment. Have a look in demo app how it's done.

fifersheep commented 10 years ago

I too am looking to create an input dialog with custom builder, but the JayneHat example does not demonstrate how to write a custom builder.

tomas-vondracek commented 10 years ago

@fifersheep you can take a look at ProgressDialogFragment or DatePickerDialogFragment classes in library

fifersheep commented 10 years ago

@tomas-vondracek, thanks for the response.

Should I be extending BaseDialogBuilder for my custom builder, or should I be extending SimpleDialogBuilder?