Skip to main content

getFabTitle method

String getFabTitle ()

This function returns String type for the event registration status.

Implementation

String getFabTitle() {
if (event.isRegisterable == false) {
return "Not Registrable";
} else if (event.isRegistered == true) {
return "Registered";
} else {
return "Register";
}
}