Ok.
The problem is an AnimationListener does not give you a reference to
the View...just the animation:
onAnimationEnd(Animation animation)
{
//Where do I get the view so I can hide it???
}
Remember this is a LayoutAnimation. I am starting it in reverse to
give the illusion of the items leaving the Grid.
myGridView.setLayoutAnimationListener(myAnimationListener);
myGridView.startLayoutAnimation();
On Jan 26, 5:21 pm, TreKing <[email protected]> wrote:
> On Wed, Jan 26, 2011 at 3:58 PM, chrismanster <[email protected]>wrote:
>
> > Is there anyway to keep the Views from returning until after the activity
> > is started?
>
> Hide them after the animation.
>
> ---------------------------------------------------------------------------
> ----------------------
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
> transit tracking app for Android-powered devices
--
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