Comments (3)
Use a handler inside onClick.
final Handler handler = new Handler();
handler.postDelayed(new Runnable() {
@Override
public void run() {
//your code
}
}, 800);
from rippleview.
Thanks! I actually thought of that but I was thinking of how to implement it inside the RippleView class so that we won't have to write the same code over and over when using the button multiple times and wanting to have the same effect. Thanks anyways!
from rippleview.
I shall add it in the class.
Thanks!
from rippleview.
Related Issues (19)
- android studio
- Problems Inside ListView
- Request: use native ripple effect if Lollipop and above
- Ripple Effect not showing on release builds HOT 1
- Issue: First animation is still running. HOT 2
- how to make ripples boarder circular?
- Add a wrapper for all views
- Android 6.0 Marshmallow bug -- Fatal Exception: java.lang.IllegalStateException Underflow in restore - more restores than saves (RippleView.java:166) HOT 2
- Button disabling HOT 2
- How to use this RippleView in android studio? thank you in advance. HOT 1
- Can we wrap any views with this RippleView programmatically? HOT 1
- unavailable I think
- I wonder whether it is possible to make a RippleViewHelper to make any other view has a Ripple effect? HOT 2
- LayoutParams not inherited - RippleViewHelper HOT 1
- RippleView ICS FATAL EXCEPTION HOT 3
- Maybe flip bug HOT 1
- Gradle support?
- Ripple on mListView? HOT 1
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 rippleview.