java - Android listview items -


I have a list view and there are some items in it (usually 7-10 people). Each item contains a checkbox I want to intersect all the items in this list view and check all those checkboxes. I try to do this:

  list view list = (list view) Find VVBID (RID). Int count = list.getCount (); (Int i = 0; i  

But when I == 4 I have NullPointerException. I think that when I use the getChildAt method, I can only get the items displayed on the screen and on the screen Provides zero for items that do not fit. Can I get all the items from the list view and not just on the screen?


Comments

Popular posts from this blog

sql - Find last match with latest inserted name in table -

c# - XML serialize base class without knowing derived class -

Send innerHTML text in URL in JSP -