Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created September 26, 2019 15:28
Show Gist options
  • Save parzibyte/9ebe6d747f2131cd7be598116c3b6a40 to your computer and use it in GitHub Desktop.
Save parzibyte/9ebe6d747f2131cd7be598116c3b6a40 to your computer and use it in GitHub Desktop.
package me.parzibyte.demostracionrecyclerview;
public class Mascota {
private String nombre;
private int edad;
public Mascota(String nombre, int edad) {
this.nombre = nombre;
this.edad = edad;
}
public String getNombre() {
return nombre;
}
public int getEdad() {
return edad;
}
@Override
public String toString() {
return "Mascota{" +
"nombre='" + nombre + '\'' +
", edad=" + edad +
'}';
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment