Skip to content

Instantly share code, notes, and snippets.

@bng86
Created February 16, 2017 03:16
Show Gist options
  • Save bng86/58608efa0a3ed47db6027715b244ed66 to your computer and use it in GitHub Desktop.
Save bng86/58608efa0a3ed47db6027715b244ed66 to your computer and use it in GitHub Desktop.
CustomDialog.create(context, {
titleRes { R.string.create_order }
positiveTextRes { R.string.confirm }
positiveClick { // do something }
negativeTextRes { R.string.cancel }
customView { view }
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment