ok, I used invalidateViews() and it seemed to work. This will invalidate all views. Is it better to use a Rect in this case or does it not really matter?
On Oct 28, 11:25 pm, jax <[email protected]> wrote: > ok fixed that, I used this: > > mAvailableOptionsListView.getChildAt(correctPosition).setAnimation > (shake) > > my next problem is that when I set this animation the view does not > seem to set the animation immediately...why is that? Do I have to > invalidate anything or manually refresh the display somehow? > > On Oct 28, 10:54 pm, jax <[email protected]> wrote: > > > Hi > > > I am trying to update a ListView with the following: > > > TextView listItem= (TextView)mAvailableOptionsListView.getAdapter > > ().getView(1, null, null); > > > listItem.setText("test"); > > > The problem is that it does not update in the > > mAvailableOptionsListView ListView. Why is that? > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

