Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to pass more information to callbacks. #136

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

romansl
Copy link

@romansl romansl commented Jul 19, 2016

Key changes:

  • Breaking change: int requestCode replaced by BaseDialogFragment dialog.
  • Added BaseDialogBuilder.setExtras(Bundle).
  • Added BaseDialogFragment.getRequestCode().

You can now handle more information about dialog in callbacks. For example you ask user to confirm delete item from list. Now you can pass item id in extras and then get it from dialog.getArguments().getBundle(BaseDialogBuilder.ARG_EXTRAS).

@frogggias
Copy link

I believe, there is better solution than creating Breaking change. For instance new interface with extras method argument.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants