Coder Social home page Coder Social logo

Comments (6)

arturdryomov avatar arturdryomov commented on August 30, 2024

Why do you need this? Just use Builder#setInAnimation and Builder#setOutAnimation.

from crouton.

pommedeterresautee avatar pommedeterresautee commented on August 30, 2024

I've made my own intetpolator. And you can't specify a customized intetpolator on an xml. Builder class use a xml as parameter. That's why I need to build programmatically an Animation object and inject it in crouton.

from crouton.

arturdryomov avatar arturdryomov commented on August 30, 2024

Maybe you actually could. But I havenโ€™t tried it.

from crouton.

pommedeterresautee avatar pommedeterresautee commented on August 30, 2024

Thanks for your answer but I've tried several month ago and it doesn't work. If you look at the android source code you will see that it's a switch between the already existing interpolator. So if the interpolator is not implemented in the sdk it can't work.

from crouton.

arturdryomov avatar arturdryomov commented on August 30, 2024

Yep, seems like a wrong direction. My fault was to name this class as an AnimationsBuilder, DefaultAnimationsBuilder would be better. For such case it would be better to add another Builder method for setting animations not from resource.

from crouton.

pommedeterresautee avatar pommedeterresautee commented on August 30, 2024

Same as issue #45
-> closed

from crouton.

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.