Hi,

currently i'm developing an ANDROID app and i have a question about
ViewFlipper.  I made a design that can be resume as :
1)User can search for items with a criteria, this view is the default
view in the ViewFlipper instance.
2)Another View (a list of items that match with the criteria) is added
to the VF, if the user click in some item a new View will open.
3)This new view is also added to VF, but is a MapView, until here
there's no problem, but once i add an animated overlay to this MapView
the animation the performance decrease.
I tried the same view inside the VF without other views and the
performance it's 3 or 4 times faster, the only solution i found to
improve the performance is mantain the views in memory with a
singleton class and add the view to the VF only to show the animation
and the remove the previous view. In other words i need to mantain the
views in some place else outside the VF and only having the current
view and add a new one just to switch the view and make some
animations.

This is a bug? or i'm doing something wrong?

--

You received this message because you are subscribed to the Google Groups 
"Android Discuss" group.
To post to this group, send email to android-disc...@googlegroups.com.
To unsubscribe from this group, send email to 
android-discuss+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/android-discuss?hl=en.


Reply via email to