Created
September 26, 2019 15:27
-
-
Save parzibyte/532e153e93de3cc70885d833890a8789 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
package me.parzibyte.demostracionrecyclerview; | |
import android.view.View; | |
import android.widget.TextView; | |
import androidx.annotation.NonNull; | |
import androidx.recyclerview.widget.RecyclerView; | |
class ViewHolderMascota extends RecyclerView.ViewHolder { | |
private TextView textViewEdad, textViewNombre; | |
ViewHolderMascota(@NonNull View itemView) { | |
super(itemView); | |
textViewEdad = itemView.findViewById(R.id.textViewEdad); | |
textViewNombre = itemView.findViewById(R.id.textViewNombre); | |
} | |
TextView getTextViewEdad() { | |
return textViewEdad; | |
} | |
TextView getTextViewNombre() { | |
return textViewNombre; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment