Accessing invisible items in the list view while we scroll the list

1 view
Skip to first unread message

Revathi K J Ramanan

unread,
Mar 16, 2011, 1:22:40 AM3/16/11
to CodeAndroid Developers Group
Hi,

I have eight elements in my list.

Initially only six items are visible. When I scroll down the view, the
first and second elements are not visible.

I use the getChildAt() api to get the ID of the first and second
elements for accessing them.

But I get NULL POINTER EXCEPTION as getChildAt() returns only the
visible elements count.

How can I get the handle for the first and second elements?

Can anybody help me regarding this?

Any help would be of really great use.

Thanks in advance.

Revathi KJ
Reply all
Reply to author
Forward
0 new messages