I'm a Native Android Developer who loves building Android apps using Kotlin programming language, using Coroutines to handle threads and love to follow the rules of clean-architecture.
📫 You can reach me on LinkedIn.
Amazing Dynamic Time UI :clock1030: :hourglass: and More
License: Apache License 2.0
I'm a Native Android Developer who loves building Android apps using Kotlin programming language, using Coroutines to handle threads and love to follow the rules of clean-architecture.
📫 You can reach me on LinkedIn.
I use the library but when i make build, AS shows me the message:
Attribute "strokeWidth" has already been defined
Attribute "strokeColor" has already been defined
I think that the names of these attributes are too generic and conflict with other popular libraries and can not use yours.
I hope that solutions soon, greetings.
Thanks for the awesome library !
I want to alter the CountDown timer by repeating it!!
if I set timer for 500 it finishes on OnTimeFinish
I want to repeat the same timer again and again !!
the below logic fails !!
mCountDownTimer.setOnTimeFinish(new OnTimeFinish() {
@Override
public void onFinish() {
mCountDownTimer.start(500);
}
});
any tips available?
Thanks for the awesome library !
I'm trying alter the library, I want continues rotation of the time for fixes time.
what I have tried:
1> I'm repeatedly calling start on CountDownTimer's setOnEndAnimationFinish
mCountDownTimer.setOnEndAnimationFinish(new OnTimeFinish() {
@Override
public void onFinish() {
mCountDownTimer.setFinishMode(CountDownTimerView.FinishMode.NoAnimation);
mCountDownTimer.start(5000);
}
}
2> also removed created FinishMode.NoAnimation enum for finish without animation
3> commented the CountDownTimerView startEndAnimation() implementation to avoid end animation
private void startEndAnimation() {
// animatorSet = new AnimatorSet();
// ObjectAnimator scaleX = ObjectAnimator.ofFloat(this, "scaleX", 1f);
// ObjectAnimator scaleY = ObjectAnimator.ofFloat(this, "scaleY", 1f);
// scaleX.setDuration(0);
// scaleY.setDuration(0);
//
// ObjectAnimator scaleX2 = ObjectAnimator.ofFloat(this, "scaleX", 1f);
// ObjectAnimator scaleY2 = ObjectAnimator.ofFloat(this, "scaleY", 1f);
// scaleX2.setDuration(0);
// scaleY2.setDuration(0);
// scaleX2.addListener(new Animator.AnimatorListener() {
// @Override
// public void onAnimationStart(Animator animation) {
// stop();
// drawFinish = true;
// postInvalidate();
// }
//
// @Override
// public void onAnimationEnd(Animator animation) {
// if (onEndAnimationFinish != null)
// onEndAnimationFinish.onFinish();
// }
//
// @Override
// public void onAnimationCancel(Animator animation) {
// }
//
// @Override
// public void onAnimationRepeat(Animator animation) {
// }
// });
// // animatorSet.play(scaleX2).with(scaleY2).after(scaleX).after(scaleY);
// animatorSet.start();
stop();
drawFinish = true;
isFinished=false;
onEndAnimationFinish.onFinish();
isFinished=false;
//above code only generates 2 time rotation
}
startEndAnimation stopped but timer repeating only two times, actually I want continues rotation, without end animation !
Not able to find where I'm missing !
Hello,
I use FlatTimeCollection but When I make run, It shows me the message:
Attempt to read from field 'float android.graphics.RectF.bottom' on a null object reference
My code is here:
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.my_activity_layout);
mHourGlass = (HourGlassView) findViewById(R.id.mHourGlass);
try{
mHourGlass.start(2000);
} catch (Exception e) {
time.setError(e.getMessage());
}
mHourGlass.flip();
mHourGlass.setOnTimeFinish(new OnTimeFinish() {
@Override
public void onFinish() {
Toast.makeText(getApplicationContext(), "finished", Toast.LENGTH_SHORT).show();
}
});
}
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.