AvatarOptionViewHolder.java
973 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
package com.bitstrips.imoji.abv3.option;
import android.net.Uri;
import android.view.View;
import android.widget.ImageView;
import com.bitstrips.imoji.persistence.MediaCache;
import com.squareup.picasso.RequestCreator;
public class AvatarOptionViewHolder
extends AvatarOptionBaseViewHolder
{
private final ImageView n;
private final MediaCache o;
public AvatarOptionViewHolder(View paramView, MediaCache paramMediaCache)
{
super(paramView);
this.n = ((ImageView)paramView.findViewById(2131689575));
this.o = paramMediaCache;
}
public void setOption(int paramInt)
{
this.n.setImageResource(paramInt);
}
public void setOption(Uri paramUri)
{
this.n.setImageDrawable(null);
this.o.load(paramUri).into(this.n);
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/com/bitstrips/imoji/abv3/option/AvatarOptionViewHolder.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/