public abstract class GfycatDiffSupportAdapter<T extends RecyclerView.ViewHolder>
extends <any>
Constructor and Description |
---|
GfycatDiffSupportAdapter(java.util.List<Gfycat> gfycats) |
Modifier and Type | Method and Description |
---|---|
boolean |
changeGfycats(java.util.List<Gfycat> newGfycats) |
int |
getGfycatPosition(java.lang.String gfyId) |
Gfycat |
getItem(int position) |
int |
getItemCount() |
abstract void |
onBindViewHolder(T holder,
Gfycat gfycat) |
void |
onBindViewHolder(T holder,
int position) |
public GfycatDiffSupportAdapter(java.util.List<Gfycat> gfycats)
public boolean changeGfycats(java.util.List<Gfycat> newGfycats)
public Gfycat getItem(int position)
public int getItemCount()
public void onBindViewHolder(T holder, int position)
public abstract void onBindViewHolder(T holder, Gfycat gfycat)
public int getGfycatPosition(java.lang.String gfyId)