I have a ListView that runs an animation as each child view is
populated. Goes something like
this:

(in Activity onCreate)

        lList = (ListView)findViewById(R.id.LsSearchList);
        la = AnimationUtils.loadLayoutAnimation(this,
R.layout.populatelistanimation);
        lList.setLayoutAnimation(la);

The first time the list is loaded in the animation is played for each
slot in the list.

Here's my question. I have a footer in the list, something like this:

Item 1
Item 2
Item 3
Next 3 Items

When you click "Next 3 items" it loads in the next three.

I want to play the animation again when the next three items are
loaded in, but since the layout
as already been loaded it won't automatically do this (I call
notifyDataSetChanged(); on the array
adapter tied to the ListView to get it to reload items).

Does anyone know the proper way to do this? I know the
animationcontroller class has a "start" method,
but I can't figure out where I would call it.

Best!!

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