Since I was curious about this as well, I looked at the source you pointed at.

They use a ViewSwitcher with two (or actually, more, dynamically created) content views.

This makes sense, since ViewSwitcher animations involve two representations of content - old and new, hence at least two separate views to render them.

-- Kostya

20.06.2010 23:08, Mark Murphy пишет:
On Sun, Jun 20, 2010 at 2:48 PM, jared.thigpen<jthi...@gmail.com>  wrote:
Alll the examples I find for transition animations (push left out,
push right in, etc.) deal with moving from one view to another. What
about an application that only has one view, but dynamically changes
the data feeding that view?

The best common example of this is the base calendar app. It has
identical views, but when you swipe forward or backward the date of
the view transitions with a swipe animation.

How do I reproduce this? Surely I don't have to inflate ViewFlippers
for the same view? And if so, what is the best way to go about this?
Since you elected to simultaneously cross-post here and StackOverflow,
my answer is over there:

http://stackoverflow.com/questions/3080516/how-to-transition-between-data-in-a-single-dynamic-view-in-android/3080568#3080568



--
Kostya Vasilev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com

--
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to