Closed oarage closed 6 years ago
You can change message in custom theme For example: Provide you own style resource: <?xml version="1.0" encoding="utf-8"?>
Pass it into constuctor: new SpotsDialog(context, R.style.Custom).show();
Try setMessage before build dialog like:
new SpotsDialog.Builder() .setContext(this) .setTheme(R.style.Custom) .setMessage("loading...) .build() .show();
@oarage It crashes when you call dialog.setMessage
before dialog.show
. Please use SpotsDialog.Builder
for that.
dialog.setMessage("loading..."); call setMessage method crash