>
> View view = getListView().getAdapter().getView(0, null, null);
>
That won't work...  getView() is called by the system when it wants to add
a view to be displayed in your listview.  What you are doing here is
essentially creating a new View and then not doing anything with it.

What you should be doing is having some way in your backend data (in the
adapter) to determine if the image view should be visible.  And then inside
the getView() method, you set its visibility as desired.

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Sat, Apr 21, 2012 at 7:37 AM, Dipesh Sudershan <[email protected]>wrote:

> View view = getListView().getAdapter().getView(0, null, null);
>

-- 
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