Monday, 15 February 2010

android - Understanding convertView parameter of GetView method -



android - Understanding convertView parameter of GetView method -

hello android developers, have read documentation on getview method of baseadapter , understood view can reused/recycled,so should check view non-null , of appropriate type before using. in case every time convertview null , new view created. though list populated correctly,but know when view recycled , when create new view.

basically recycled when scroll list. when item hidden - can recycled , used new visible item. seek add together ~100 items , scroll them , check how many views created.

android baseadapter convertview

No comments:

Post a Comment