agrawalsuneet / loaderspack-android Goto Github PK
View Code? Open in Web Editor NEWAndroid LoadersPack - a replacement of default android material progressbar with different loaders
License: Apache License 2.0
Android LoadersPack - a replacement of default android material progressbar with different loaders
License: Apache License 2.0
I am using CurvesLoader.
if the xml view is android:visibility="gone"
when programmatically switched to visible, the animation looks like there is a measurement problem.
I am getting an error when I'm trying to add your project to my gradle file. This is the error I get
Android resource compilation failed
Output:
android/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:988: error: duplicate value for resource 'attr/startAngle' with config ''.
android/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:988: error: resource previously defined here.
When I use MultipleRippleLoader with any number of ripples, and set its visibility to "INVISIBLE", and then set it to "VISIBLE" from code, the number of ripples reduces to 1, even if I tried to hide and unhide its parent.
XML code:
<com.agrawalsuneet.loaderspack.loaders.MultipleRippleLoader
android:id="@+id/ripple_layout"
android:layout_centerInParent="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:multipleripple_animDuration="6000"
app:multipleripple_circleColor="@color/colorPrimary"
app:multipleripple_circleInitialRadius="50dp"
app:multipleripple_fromAlpha="0.8"
app:multipleripple_interpolator="@android:anim/decelerate_interpolator"
app:multipleripple_noOfRipples="3"
app:multipleripple_toAplha="0" />
Hi,
I'd like to use the .CircularSticksLoader but I get this error:
java.lang.ClassCastException: android.view.ContextThemeWrapper cannot be cast to android.app.Activity at com.agrawalsuneet.loaderspack.loaders.CircularSticksLoader$scheduleTimer$1.run(CircularSticksLoader.kt:225) at java.util.TimerThread.mainLoop(Timer.java:555) at java.util.TimerThread.run(Timer.java:505)
I use the examle xml code. I tried to use RingAndCircleLoader (example xml code) and it has no error.
What is the solution for this?
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.