Skip to content

Instantly share code, notes, and snippets.

@mplacona
Created October 25, 2016 11:06
Show Gist options
  • Select an option

  • Save mplacona/922ef6e8b793c4f5c4775a8900245076 to your computer and use it in GitHub Desktop.

Select an option

Save mplacona/922ef6e8b793c4f5c4775a8900245076 to your computer and use it in GitHub Desktop.
public class ViewHolder extends RealmViewHolder {
private TextView mText;
private TextView mDate;
private ImageView mIcon;
public ViewHolder(RelativeLayout container) {
super(container);
this.mText = (TextView) container.findViewById(R.id.tv_text);
this.mDate = (TextView) container.findViewById(R.id.tv_date);
this.mIcon = (ImageView) container.findViewById(R.id.iv_icon);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment