Comments (10)
Hey, guy.
You need to create a new class which extends from BaseViewAnimator
and override the prepare
method.
from androidviewanimations.
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.
It's really a problem... my bad design...
I'll fix this before tommorow.
from androidviewanimations.
Cool, thanks for the quick fix.
Any plans on doing a release to maven repos soon ?
from androidviewanimations.
I'm releasing a new version, wait a second. Please have a test if it works well.
from androidviewanimations.
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.
Cool, after 10(or maybe longer ) minutes, you can update your gradle to version 1.1.3.
from androidviewanimations.
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.
Ok, I'll do it right now.
from androidviewanimations.
@moopat Solved.
from androidviewanimations.
Related Issues (20)
- Error Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 15506 (RenderThread), pid 15464
- add support for RTL layouts (right/left -> start/end)
- Kotlin version in future? HOT 1
- How to customize animation parameters? HOT 1
- Not an Issue But Want to know
- Facing gradle build problem when using with androix project. How to solve that?
- Can support Android X? HOT 1
- 同时有几百个view执行valueanimator 卡顿严重
- java.lang.ClassNotFoundException
- my app stop when reach to this yoyo code HOT 4
- Can not use on threads. HOT 2
- demo运行后,所有效果都没有,没有改一行代码 HOT 2
- Library Unresolved when called in Version Catalog Gradle 7 HOT 1
- BUG HOT 1
- Anim
- Animation not working in Kotlin
- Compiles without problem but crashes on phone with "there is a bug" error message HOT 2
- access YoYoString make animation auto run HOT 1
- When i do Build in release HOT 6
- XD
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from androidviewanimations.