Hi Manoj,

ListView is designed in such a way that it doesn't create holders for
views that are not visible. The correct way to access the data is to
use the Adapter which you would have bound to the list view. The
adapter depending on your implementation would hold all the data which
is not visible in the list view.

Kumar Bibek
http://tech-droid.blogspot.com

On Jan 15, 4:06 pm, Manoj <[email protected]> wrote:
> Hi
> I am using a list view and populating it with a Adaptor in which i
> have taken contacts from the system. At a time there are 7 items
> displays and the rest are out of screen. I have taken checkbox as an
> item for each row in list view. There are about 30 contacts in my
> emulator added.
>
> Now if i see the tree in Hierarchy viewer it shows only those items in
> the list which are visible on the screen and not the those which are
> out of screen and moreover when i try to access the child of the
> listview i am able to access only those which are visible on the
> screen and the other shows NullPointerException.
>
> Please tell about this issue in android.
>
> Manoj C
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to