GithubHelp home page GithubHelp logo

Comments (10)

daimajia avatar daimajia commented on July 23, 2024

Hey, guy.
You need to create a new class which extends from BaseViewAnimator and override the prepare method.

from androidviewanimations.

robertoestivill avatar robertoestivill commented on July 23, 2024

Correct, that would be the first step.
But what I don't seem to get is how to use it and pass it in to be used as any of the animations defined in the library.

YoYo.with( ) is not an option, since it takes a Technique which is an already defined Enum.
I can't instantiate YoYo, YoYoString, or AnimationComposer since the constructor methods are private.

So how do I provide the BaseViewAnimator subclass for the library to use?

from androidviewanimations.

daimajia avatar daimajia commented on July 23, 2024

It's really a problem... my bad design...

I'll fix this before tommorow.

from androidviewanimations.

robertoestivill avatar robertoestivill commented on July 23, 2024

Cool, thanks for the quick fix.
Any plans on doing a release to maven repos soon ?

from androidviewanimations.

daimajia avatar daimajia commented on July 23, 2024

I'm releasing a new version, wait a second. Please have a test if it works well.

from androidviewanimations.

robertoestivill avatar robertoestivill commented on July 23, 2024

I modified the ExampleActivity in the demo to use a custom BaseViewAnimator and everything works just fine. Also the code changes look clean to me.

Thanks

from androidviewanimations.

daimajia avatar daimajia commented on July 23, 2024

Cool, after 10(or maybe longer ) minutes, you can update your gradle to version 1.1.3.

from androidviewanimations.

moopat avatar moopat commented on July 23, 2024

Hi,
if you have time, could you please also update the JAR download links in the README section of the project, so the updates can be used in Eclipse as well?

Thanks!

from androidviewanimations.

daimajia avatar daimajia commented on July 23, 2024

Ok, I'll do it right now.

from androidviewanimations.

daimajia avatar daimajia commented on July 23, 2024

@moopat Solved.

from androidviewanimations.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.