Skip to content

Instantly share code, notes, and snippets.

@miquelbeltran
Created June 17, 2017 15:03
Show Gist options
  • Select an option

  • Save miquelbeltran/bf7dd91fae28b7a19e497ac43ecb34ae to your computer and use it in GitHub Desktop.

Select an option

Save miquelbeltran/bf7dd91fae28b7a19e497ac43ecb34ae to your computer and use it in GitHub Desktop.
public final class DayViewHolder extends ViewHolder {
@NotNull
private final TextView title;
@NotNull
public final TextView getTitle() {
return this.title;
}
public final void bind(@NotNull Day day) {
Intrinsics.checkParameterIsNotNull(day, "day");
this.title.setText((CharSequence)day.getTitle());
}
public DayViewHolder(@NotNull View view) {
Intrinsics.checkParameterIsNotNull(view, "view");
super(view);
TextView var10001 = (TextView)this.itemView.findViewById(id.title);
Intrinsics.checkExpressionValueIsNotNull(var10001, "itemView.title");
this.title = var10001;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment