HeaderViewHolder.java
858 Bytes
package com.bitstrips.imoji.browser.views;
import android.graphics.drawable.ColorDrawable;
import android.support.v7.widget.RecyclerView.ViewHolder;
import android.view.View;
import android.widget.TextView;
import com.bitstrips.imoji.browser.models.Header;
public class HeaderViewHolder
extends RecyclerView.ViewHolder
{
private final TextView n;
public HeaderViewHolder(View paramView)
{
super(paramView);
this.n = ((TextView)paramView.findViewById(2131689757));
}
public void setHeader(Header paramHeader)
{
this.n.setText(paramHeader.getTitle());
this.n.setBackground(new ColorDrawable(paramHeader.getColor()));
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/com/bitstrips/imoji/browser/views/HeaderViewHolder.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/