public abstract class CategoryViewHolder extends RecyclerView.ViewHolder implements GfyItemHolder
| Modifier and Type | Field and Description |
|---|---|
protected CategoryView |
categoryView |
protected Gfycat |
currentGfycat |
| Constructor and Description |
|---|
CategoryViewHolder(CategoryView itemView,
float aspectRatio,
int orientation,
float cornerRadius) |
| Modifier and Type | Method and Description |
|---|---|
void |
autoPause() |
void |
autoPlay() |
void |
bind(GfycatCategory categoryData) |
Gfycat |
getItem() |
boolean |
isAutoPlay() |
void |
recycle() |
protected Gfycat currentGfycat
protected CategoryView categoryView
public CategoryViewHolder(CategoryView itemView, float aspectRatio, int orientation, float cornerRadius)
public void recycle()
public void autoPause()
public void autoPlay()
public boolean isAutoPlay()
public Gfycat getItem()
getItem in interface GfyItemHolderpublic void bind(GfycatCategory categoryData)