Skip to content

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