Skip to content

Instantly share code, notes, and snippets.

@jezinka
Last active Aug 11, 2018
Embed
What would you like to do?
class ViewHolder extends RecyclerView.ViewHolder {
TextView label;
TextView temperature;
(...)
ViewHolder(View itemView) {
super(itemView);
label = itemView.findViewById(R.id.label_tv);
temperature = itemView.findViewById(R.id.temperature_tv);
(...)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment