Java
Need help with TaoBaoProgressBar?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.
liuhuibin

Description

一个模仿淘宝秒杀商品页面的进度条

200 Stars 63 Forks 15 Commits 0 Opened issues

Services available

Need anything else?

一个模仿淘宝秒杀商品页面的进度条

Feature

有进度条加载动画

Snapshot

snapshot

Usage


Advanced

        mProgressBar = (CustomProgressBar) findViewById(R.id.cpb_progresbar);
        mProgressBar.setOnFinishedListener(new CustomProgressBar.OnFinishedListener() {
                    @Override
                    public void onFinish() {
                        Toast.makeText(MainActivity.this,"done!",Toast.LENGTH_SHORT).show();
                    }
                });
        mProgressBar.setOnAnimationEndListener(new CustomProgressBar.OnAnimationEndListener() {
                    @Override
                    public void onAnimationEnd() {
                        Toast.makeText(MainActivity.this,"animation end!",Toast.LENGTH_SHORT).show();
                    }
                });
        mProgressBar.setProgressDesc("剩余");
        mProgressBar.setMaxProgress(100);
        mProgressBar.setProgressColor(Color.parseColor("#F6CB82"));
        mProgressBar2.setCurProgress(70,2000);

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.