Giter Site home page Giter Site logo

autocountdowntimer's Introduction

AutoCountDownTimer

简介:一个倒计时自定义控件,继承CountDownTimer。对显示的“时,分,秒” 定义格式: 如:HH:mm:ss HH小时mm分钟ss秒 ss秒

mAutoCountDownTimer=new AutoCountDownTimer(System.currentTimeMillis(),1000) {

        @Override
        
        public void onFinish() {
        
            super.onFinish();
            
        }
        
    };
    
    //// TODO: 2017/5/10 设置显示格式 
    
    mAutoCountDownTimer.setFormat_hh_mm_ss("HH:mm:ss");
    
    //// TODO: 2017/5/10 设置显示的View :textView 
    
    mAutoCountDownTimer.setmTextView(mTvOne);
    
    // 开发
    
    mAutoCountDownTimer.start();
    
    结束的时候 不要忘记cancle

autocountdowntimer's People

Contributors

qingfengwlt avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.