public class ImageListItemHolder extends Holder<ImageListItem>
ImageListItem in the adapter| Modifier and Type | Field and Description |
|---|---|
protected android.widget.ImageView |
image |
| Constructor and Description |
|---|
ImageListItemHolder() |
| Modifier and Type | Method and Description |
|---|---|
android.view.View |
createView(android.view.ViewGroup parent)
Method called when a new view needs to be created in the adapter.
|
void |
populateView(ImageListItem model)
Called when the view needs to be populated
|
public android.view.View createView(android.view.ViewGroup parent)
HoldercreateView in class Holder<ImageListItem>parent - The parent view. Use this with LayoutInflater to inflate your viewpublic void populateView(ImageListItem model)
HolderpopulateView in class Holder<ImageListItem>model - The model to populate the view with