vikramkakkar / imagetransition Goto Github PK
View Code? Open in Web Editor NEWA small android library to transition between a circular ImageView from one Activity to a rectangular ImageView in the launched Activity.
License: Apache License 2.0
A small android library to transition between a circular ImageView from one Activity to a rectangular ImageView in the launched Activity.
License: Apache License 2.0
Hi guys, amazing library!
Once i open the circular image into a rectangular one is it possible to put in a PhotoView so that the user can zoom it?
I am using fit_center in my imageview scaleType but it throw error like
IllegalArgumentException: ScaleType FIT_CENTER not supported. Could you provide me solution with fit_center
java.lang.NullPointerException: Attempt to invoke virtual method 'float java.lang.Float.floatValue()' on a null object reference
at com.appeaser.imagetransitionlibrary.ImageTransitionCompatHelper.createAnimator(ImageTransitionCompatHelper.java:67)
at com.appeaser.imagetransitionlibrary.ImageTransition.createAnimator(ImageTransition.java:69)
at android.transition.Transition.createAnimators(Transition.java:732)
at android.transition.TransitionSet.createAnimators(TransitionSet.java:405)
at android.transition.TransitionSet.createAnimators(TransitionSet.java:405)
at android.transition.Transition.playTransition(Transition.java:1777)
at android.transition.TransitionManager$MultiListener.onPreDraw(TransitionManager.java:308)
at android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:944)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2417)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1321)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6708)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:894)
at android.view.Choreographer.doCallbacks(Choreographer.java:696)
at android.view.Choreographer.doFrame(Choreographer.java:631)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:880)
at android.os.Handler.handleCallback(Handler.java:815)
at android.os.Handler.dispatchMessage(Handler.java:104)
at android.os.Looper.loop(Looper.java:207)
at android.app.ActivityThread.main(ActivityThread.java:5728)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:679)
please reply why this is happening .........
I keep getting frequent NPE when trying to load transitions in a real application, and I am trying to understand what the error means.
If you need to debug this better, have a look at https://github.com/alexstyl/Memento-Calendar/tree/transitionv2
java.lang.NullPointerException: Attempt to read from field 'java.util.Map android.transition.TransitionValues.values' on a null object reference
at com.appeaser.imagetransitionlibrary.ImageTransition.createAnimator(ImageTransition.java:69)
at android.transition.Transition.createAnimators(Transition.java:732)
at android.transition.TransitionSet.createAnimators(TransitionSet.java:396)
at android.transition.TransitionSet.createAnimators(TransitionSet.java:396)
at android.transition.TransitionSet.createAnimators(TransitionSet.java:396)
at android.transition.TransitionSet.createAnimators(TransitionSet.java:396)
at android.transition.Transition.playTransition(Transition.java:1779)
at android.transition.TransitionManager$MultiListener.onPreDraw(TransitionManager.java:315)
at android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:977)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2349)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1392)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6752)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:911)
at android.view.Choreographer.doCallbacks(Choreographer.java:723)
at android.view.Choreographer.doFrame(Choreographer.java:658)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:897)
at android.os.Handler.handleCallback(Handler.java:790)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6494)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
能解决一下,共享属性动画 嵌套到ViewPager的bug吗?效果如现在WeChat 的朋友圈图片动画效果
if the app was in DAY MODE (AppCompatDelegate.MODE_NIGHT_NO) it works perfect. But in NIGHT MODE (AppCompatDelegate.MODE_NIGHT_YES) the translation between rectangle to circle is not working.
While Entering: The circle is converted to rectangle immediately and then scaled during the enter animation.
While Exiting: The rectangle is converted to circle immediately and then scaled during the exit animation.
When I tried to make a custom transition with duration = 5000ms to see changes slower, the original transition was the one working.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.