Reputation: 55
I call a simple Dialog.show("Notification", value)
When it is called on android it is not showing and i am receiving an error.
[EDT] 0:0:36,628 - Exception: java.lang.IllegalArgumentException - Rows and columns must be greater than zero
java.lang.IllegalArgumentException: Rows and columns must be greater than zero
I don't know what to do how to fix it ?
Upvotes: 1
Views: 37
Reputation: 55
Got the answer basically the show must have at least on label for button and can't be call without four arguments minimum.
Dialog.show("Notification", bodyOfNotification, "OK", null));
Upvotes: 1