Skip to content

Instantly share code, notes, and snippets.

@judeebene
Created April 2, 2017 20:57
Show Gist options
  • Save judeebene/41cfc99f6590e220f5ff4c15c1df1a7d to your computer and use it in GitHub Desktop.
Save judeebene/41cfc99f6590e220f5ff4c15c1df1a7d to your computer and use it in GitHub Desktop.
cheese in model
package model;
import android.media.Image;
import android.widget.ImageView;
import java.util.Random;
import java.util.UUID;
public class Cheeses {
public String uid;
public String title;
public String directions;
public String ingredients;
public Image imageViewUrl;
public Cheeses() {
//Default constructor
}
public Cheeses(String uid, String title, Image imageViewUrl, String directions, String ingredients) {
this.title = title;
this.imageViewUrl = imageViewUrl;
this.directions = directions;
this.ingredients = ingredients;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public String getDirections() {
return directions;
}
public void setDirections(String directions) {
this.directions = directions;
}
public String getIngredients() {
return ingredients;
}
public void setIngredients(String ingredients) {
this.ingredients = ingredients;
}
public Image getImageViewUrl() {
return imageViewUrl;
}
public void setImageViewUrl(Image imageViewUrl) {
this.imageViewUrl = imageViewUrl;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment