December 2, 2020

Build a Firebase Android Application

BaaS = Backend as a Service

// retrieve the key
// Task 4: read from database
String key = issue.getKey(); //assign the random key to the sting key
// retrieve the severity
String severity = issue.child("severity").getValue(String.class);
//assign the value to the string severity... you need to use .child since it is a child

// getters

public String myGetKey() { return key; } //this is not getKey() because we want firebase to auto generate its own key, and not push what we have

public String getSeverity() {
return severity;
}

public String getResolved() {
return resolved;
}

public String getDescription() {
return description;
}

https://docs.google.com/presentation/d/1klJAVdC7qrbnB5iWu6w-C9-9TfKtF9tYFk8RpYWXrUw/edit#slide=id.p