xain
xain

Reputation: 13849

Android layout event

I have a ViewFlipper that contains several Layouts. Is there an event I can set to identify the first time each of the layouts is loaded ?

Thanks

Upvotes: 0

Views: 459

Answers (1)

Bryan
Bryan

Reputation: 6699

You could set an Animation for when a view is displayed using Animation.setInAnimation(). Then you could implement the AnimationListener interface to detect when a view is brought in. I imagine you could add some logic in there to do something the first time each view is loaded. Hope that helps.

Upvotes: 1

Related Questions