public abstract class GfyViewHolder extends RecyclerView.ViewHolder implements GfyItemHolder
Created by dekalo on 01.09.15.
Constructor and Description |
---|
GfyViewHolder(android.view.View view) |
Modifier and Type | Method and Description |
---|---|
void |
autoPause() |
void |
autoPlay() |
void |
bind(Gfycat gfycat,
FeedIdentifier identifier) |
protected android.content.Context |
getContext() |
ContextDetails |
getContextDetails() |
protected FeedIdentifier |
getFeedIdentifier() |
Gfycat |
getItem() |
boolean |
isAutoPlay() |
protected static ImpressionInfo |
prepareImpressionInfo(Gfycat gfycat,
FeedIdentifier identifier,
java.lang.String flow) |
void |
recycle() |
protected FeedIdentifier getFeedIdentifier()
public Gfycat getItem()
getItem
in interface GfyItemHolder
protected android.content.Context getContext()
public ContextDetails getContextDetails()
public void bind(Gfycat gfycat, FeedIdentifier identifier)
public void recycle()
public void autoPause()
public void autoPlay()
public boolean isAutoPlay()
protected static ImpressionInfo prepareImpressionInfo(Gfycat gfycat, FeedIdentifier identifier, java.lang.String flow)