public abstract class Holder<T>
extends java.lang.Object
populateView(Object)| Constructor and Description |
|---|
Holder() |
| Modifier and Type | Method and Description |
|---|---|
abstract android.view.View |
createView(android.view.ViewGroup parent)
Method called when a new view needs to be created in the adapter.
|
abstract void |
populateView(T model)
Called when the view needs to be populated
|
public abstract android.view.View createView(android.view.ViewGroup parent)
parent - The parent view. Use this with LayoutInflater to inflate your viewpublic abstract void populateView(T model)
model - The model to populate the view with