Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created July 3, 2019 22:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/e7884ba76724b4caef24b75004bcdddf to your computer and use it in GitHub Desktop.
Save parzibyte/e7884ba76724b4caef24b75004bcdddf to your computer and use it in GitHub Desktop.
class ViewHolderGasto extends RecyclerView.ViewHolder {
TextView descripcion, monto, categoria, fecha;
ViewHolderGasto(View itemView) {
super(itemView);
this.descripcion = itemView.findViewById(R.id.tvDescripcionGasto);
this.monto = itemView.findViewById(R.id.tvMontoGasto);
this.categoria = itemView.findViewById(R.id.tvCategoriaGasto);
this.fecha = itemView.findViewById(R.id.tvFechaGasto);
}
}
class ViewHolderVerMas extends RecyclerView.ViewHolder {
TextView textoVerMas;
ViewHolderVerMas(View itemView) {
super(itemView);
this.textoVerMas = itemView.findViewById(R.id.tvVerMas);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment