android - What does View type mean? -
getitemviewtype method of adapter class should
get type of view created getview(int, view, viewgroup)
not items in adapter need have same view represent them. view type int says type is- enum defined @ run time. if there's 1 view, should return 0. if there's multiple views, each type should return unique id between 0 , numtypes-1.
Comments
Post a Comment