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;