Comments (5)
Hi,
In your project, do you want to put a RippleEffect on a row or on a view inside a row ?
from rippleeffect.
I've pushed an example of RecyclerView with a RippleEffect on each row in the sample project. Could you try it ?
from rippleeffect.
Hi!
Your sample does work and my first implementation of it did as well. The problem is that the click event on my childview takes me to another activity. So the trasition to this other activity happens before the animation on the RippleView completes itself.
Is there a way to wait for the animation to complete and only them call the click event on the child view (The RecyclerView's row)?
PS.: The click event has an startActivity in it, and this is being called before the animation finishes.
from rippleeffect.
Hi,
I think it's not a good idea to wait until the animation is finished because the user might think that your app is slow. But if you want to achieve this you can create an Handler
and use the postDelayed
method with a delay equals to the RippleEffect animation.
from rippleeffect.
Well, you are actually right.
Thanks for the help tho.
from rippleeffect.
Related Issues (20)
- ripple view crashes for targetSdkVersion above 22 HOT 4
- set ripple fullscreen color and alpha
- use in setonclicklistner
- error in 7.1.1 HOT 6
- Rippleview on Parent and Child Views
- On long click the ripple completes but onRippleCompletedListener is never called
- Ripple effect will continue from where it has been left off HOT 3
- 有个属性不知道什么含义(rv_ripplePadding)
- crash when rillpe finishes HOT 1
- onTouchListener problem (does not override performClick)
- Start animation programatically and multi-touch same item multiple times
- java.lang.IllegalStateException: Underflow in restore - more restores than saves HOT 4
- Error inflating class com.andexert.library.RippleView in 27 support & design libraries in version 1.2.2
- i have a cradview with two button an i want to make ripples for the card itself and for each button
- Using support library 28 - TabLayout has 2 ripple effects
- 动画完成前,如何取消该动画?
- Wave effect at a given boundary
- Bad api
- Not Working
- crash inside NestedScrollView
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 rippleeffect.