xiandanin / countdowntimersupport Goto Github PK
View Code? Open in Web Editor NEWAndroid倒计时器,支持开始倒计时、暂停倒计时、继续倒计时、停止倒计时、重新倒计时
Android倒计时器,支持开始倒计时、暂停倒计时、继续倒计时、停止倒计时、重新倒计时
我Activity 创建对象 设置setOnCountDownTimerListener 然后finish() 好像内存泄露了
首先感谢大神的计时器,项目中有用到,但是发现计时器的未计时完成的情况下 主动取消计时,仍会触发onfinish ,感觉这点不太合理,建议新增一个取消 或销毁回调 ,onfinish只在正常倒计时完成时才触发回调
清单文件:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="in.xiandan.countdowntimer"
android:versionCode="28"
android:versionName="1.0.3" >
<uses-sdk
android:minSdkVersion="14"
android:targetSdkVersion="28" />
<application
android:allowBackup="true"
android:label="@string/app_name"
android:supportsRtl="true" >
</application>
</manifest>
报错;
Manifest merger failed : Attribute application@label value=(***) from AndroidManifest.xml:59:9-36
is also present at [in.xiandan:count-down-timer:1.0.3] AndroidManifest.xml:13:9-41 value=(@string/app_name).
Suggestion: add 'tools:replace="android:label"' to <application> element at AndroidManifest.xml:55:5-222:19 to override.
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.