Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created September 26, 2019 15:37
Show Gist options
  • Save parzibyte/2b5b6137d2a6a6e7c30429fbd8e28487 to your computer and use it in GitHub Desktop.
Save parzibyte/2b5b6137d2a6a6e7c30429fbd8e28487 to your computer and use it in GitHub Desktop.
@Override
public void onBindViewHolder(@NonNull ViewHolderMascota holder, int position) {
// Dibujar la fila de la mascota con los datos de la mascota actualmente solicidata según la variable position
Mascota mascota = this.mascotas.get(position);
holder.getTextViewEdad().setText(String.valueOf(mascota.getEdad()));
holder.getTextViewNombre().setText(mascota.getNombre());
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment