Created
September 26, 2019 15:37
-
-
Save parzibyte/2b5b6137d2a6a6e7c30429fbd8e28487 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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