|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ViewModel<T>
User: evantatarka Date: 9/25/13 Time: 4:30 PM
An interface to mark a view that implements the ViewModel adapter pattern. All implementations of this must subclass an android ViewGroup class as they are expected to be inflated from xml. You should overrideonFinishInflate() to get references to your children views. Then set
up the display of the view in populate().
| Method Summary | |
|---|---|
void |
populate(T item)
Sets the data of the view to the given item. |
| Method Detail |
|---|
void populate(T item)
item - the item to populate the view with
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||