New answers tagged

2

Use resource value itself dialogBuilder.setMessage accepts a messageId. SetPositiveButton accepts txtId setTitle accepts titleId - Use lambda's setPositiveButton accepts a functional interface. due to sam-conversions, you can pass in a lambda. setPositiveButton( resources.getString(R.string.ok), DialogInterface.OnClickListener { dialog, _id -&...


Top 50 recent answers are included