public class PredictionAdapter
extends <any>
| Modifier and Type | Class and Description |
|---|---|
static class |
PredictionAdapter.PredictionHolder |
| Constructor and Description |
|---|
PredictionAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
applyPredictions(java.util.List<Prediction> predictions) |
int |
getItemCount() |
void |
onBindViewHolder(PredictionAdapter.PredictionHolder holder,
int position) |
PredictionAdapter.PredictionHolder |
onCreateViewHolder(android.view.ViewGroup parent,
int viewType) |
void |
setOnItemClickListener(OnPredictionClickListener listener) |
public void applyPredictions(java.util.List<Prediction> predictions)
public PredictionAdapter.PredictionHolder onCreateViewHolder(android.view.ViewGroup parent, int viewType)
public void onBindViewHolder(PredictionAdapter.PredictionHolder holder, int position)
public int getItemCount()
public void setOnItemClickListener(OnPredictionClickListener listener)