public class DescriptionListItemHolder extends Holder<DescriptionListItem>
DescriptionListItem in the adapter| Modifier and Type | Field and Description |
|---|---|
protected android.widget.TextView |
description |
protected android.widget.TextView |
title |
| Constructor and Description |
|---|
DescriptionListItemHolder() |
| 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(DescriptionListItem model)
Called when the view needs to be populated
|
protected android.widget.TextView title
protected android.widget.TextView description
public android.view.View createView(android.view.ViewGroup parent)
HoldercreateView in class Holder<DescriptionListItem>parent - The parent view. Use this with LayoutInflater to inflate your viewpublic void populateView(DescriptionListItem model)
HolderpopulateView in class Holder<DescriptionListItem>model - The model to populate the view with