Anyone? I really can't figure out what I'm doing wrong...
The animation doesn't draw. I also have overridden the canAnimate() method to be sure and disabled the Animation Drawing Cache to be sure on my AdapterView container. I guess that it makes no difference to have a simple View or a AdapterView as a container as the latter is a ViewGroup. Maybe ovverriding the onDraw doesn't suffice as it's not called to draw every frame. I'll appreciate any kind of advice / document for me to read on this. Thank you! On 28 Mag, 19:05, Andrea Richiardi <andrea.richia...@gmail.com> wrote: > Hi guys! > > Here I am again to ask some newbie question :-) > > I'm trying to build a class that has-aViewAnimator. > > For this reason, myonDrawhas been overridden like this: > > protected voidonDraw(Canvas canvas) { > mAnimator.getCurrentView().draw(canvas); > > } > > Now, theViewAnimatorhas cool setIn and setOut Animation and it > simply starts them on setDisplayedChild(). > The problem is that I never see these animations playing. I've > debugged the code and theViewAnimatorpasses through the > startAnimation code. > > I may be missing out some clue here. So don't be mad, but I was not be > able to find the solution lurking on the Internet. > > Thanks. > > -ar -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en