Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@ramadani
Last active April 8, 2017 12:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ramadani/a751fb12ff422c3fdf55bf9045934103 to your computer and use it in GitHub Desktop.
Save ramadani/a751fb12ff422c3fdf55bf9045934103 to your computer and use it in GitHub Desktop.
Simple Android App using Firebase Realtime Database - Java Object
@IgnoreExtraProperties
public class Note {
private String uid;
private String title;
private String content;
public Note() {
}
public Note(String uid, String title, String content) {
this.uid = uid;
this.title = title;
this.content = content;
}
public String getUid() {
return uid;
}
public String getTitle() {
return title;
}
public String getContent() {
return content;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment