public class GfycatDataAdapter extends GfycatDiffSupportAdapter<GfyWebpViewHolder>
Created by dekalo on 26.08.15.
| Constructor and Description |
|---|
GfycatDataAdapter(FeedIdentifier identifier,
int orientation,
float cornerRadius,
java.util.List<Gfycat> gfycats,
CellController cellController,
BIContext biContext,
java.util.Set<Recyclable> weakRecyclableItemsForRelease) |
| Modifier and Type | Method and Description |
|---|---|
void |
onBindViewHolder(GfyWebpViewHolder holder,
Gfycat gfycat) |
GfyWebpViewHolder |
onCreateViewHolder(android.view.ViewGroup viewGroup,
int index) |
boolean |
onFailedToRecycleView(GfyWebpViewHolder holder) |
boolean |
updateFeed(FeedIdentifier identifier,
java.util.List<Gfycat> newGfycats) |
changeGfycats, getGfycatPosition, getItem, getItemCountpublic GfycatDataAdapter(FeedIdentifier identifier,
int orientation,
float cornerRadius,
java.util.List<Gfycat> gfycats,
CellController cellController,
BIContext biContext,
java.util.Set<Recyclable> weakRecyclableItemsForRelease)
public void onBindViewHolder(GfyWebpViewHolder holder, Gfycat gfycat)
onBindViewHolder in class GfycatDiffSupportAdapter<GfyWebpViewHolder>public GfyWebpViewHolder onCreateViewHolder(android.view.ViewGroup viewGroup, int index)
public boolean onFailedToRecycleView(GfyWebpViewHolder holder)
public boolean updateFeed(FeedIdentifier identifier,
java.util.List<Gfycat> newGfycats)