Update... getListView().invalidateViews() seems to be called just
fine... it's just that the ListAdapter doesn't seem to be re-calling
getView() on the list items, even though invalidateViews() has been
called...
On Aug 28, 12:07 pm, kingkung <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm having issues with ListView in 0.9 beta that worked fine in m5. I
> have an onItemSelectedListener registered on my listview, so when I
> select an item in the list, the list should invalidate and the item
> should expand to reveal more information.
>
> getListView().setOnItemSelectedListener(new
> OnItemSelectedListener()
> {
> public void onItemSelected(AdapterView parent, View v,
> int position, long id) {
> getListView().invalidateViews();
> }
> public void onNothingSelected(AdapterView arg0) {
> getListView().invalidateViews();
> }
> });
>
> Nothing happens when I scroll down the list, however... there is no
> indication that the ListAdapter is making any attempt to redraw the
> views.
--~--~---------~--~----~------------~-------~--~----~
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]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---