kofigyan / StateProgressBar

Android library to realize the various states and transitions in a ProgressBar.
1.54k stars 233 forks source link

is it possible can set click event at circles? #24

Closed ajayqualwebs closed 6 years ago

kofigyan commented 6 years ago

Please can you describe the scenario or possibly the use case for such a feature.

ajayqualwebs commented 6 years ago

I want when i click on mStateNumber of circle so get value of clicked draw circle.

ajayqualwebs commented 6 years ago

Give me any suggestion it's important.

yatindeokar commented 6 years ago

i also want the same feature so that i can change stage on onClick event of circle.

ajayqualwebs commented 6 years ago

So did you get something?

kofigyan commented 6 years ago

Hi @ajayqualwebs , please sorry for the delay. I have started exploring the possible solution to your request. I am working on it alongside another feature request so please give me at most a week to get back to with an answer. I am currently exploring ways and means of getting support from the community so l can concentrate much of my time on adding many of the feature requests.

ajayqualwebs commented 6 years ago

Ok thanks for this improvement.

kofigyan commented 6 years ago

Hi @ajayqualwebs and @yatindeokar the features are fully implemented now and available to the general public. How to use :

  1. Add to build.gradle implementation 'com.kofigyan.stateprogressbar:stateprogressbar:0.0.8'

  2. Add the following codes `stateProgressBar.setOnStateItemClickListener(new OnStateItemClickListener() { @Override public void onStateItemClick(StateProgressBar stateProgressBar, StateItem stateItem, int stateNumber, boolean isCurrentState) { Toast.makeText(getApplicationContext(), "state Clicked Number is " + stateNumber, Toast.LENGTH_LONG).show();

        }
    });`
kofigyan commented 6 years ago

I will be working on full documentation tomorrow after l finish lecturing my students.

yatindeokar commented 6 years ago

Thank you so much for this change. now its amazing.

On Fri, Mar 23, 2018 at 6:05 AM, Kofi Gyan notifications@github.com wrote:

Hi @ajayqualwebs https://github.com/ajayqualwebs and @yatindeokar https://github.com/yatindeokar the features are fully implemented now and available to the general public. How to use :

1.

Add to build.gradle implementation 'com.kofigyan.stateprogressbar:stateprogressbar:0.0.8' 2.

Add the following codes `stateProgressBar.setOnStateItemClickListener(new OnStateItemClickListener() { @override https://github.com/override public void onStateItemClick(StateProgressBar stateProgressBar, StateItem stateItem, int stateNumber, boolean isCurrentState) { Toast.makeText(getApplicationContext(), "state Clicked Number is " + stateNumber, Toast.LENGTH_LONG).show();

    }
});`

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/kofigyan/StateProgressBar/issues/24#issuecomment-375501986, or mute the thread https://github.com/notifications/unsubscribe-auth/AMvi67JPQorQ2LR5IVS9TLc5Ujjbj0IHks5thENkgaJpZM4Pa5mG .

ajayqualwebs commented 6 years ago

Thank You very much, for this wonderful library which I already implement with my project, but it's become more reliable for other. Thanks Again.

kofigyan commented 6 years ago

You are welcome @ajayqualwebs.

ajayqualwebs commented 5 years ago

Hello Kofigyan/Stateprogressbar I have the implement new thing with it the user can create dynamically the number of states.

If you want of I can share my code with you.

Thank You

kofigyan commented 5 years ago

Thank you @ajayqualwebs. Please do send me a pull request.

On Tue, 19 Feb 2019, 05:57 ajayqualwebs, notifications@github.com wrote:

Hello Kofigyan/Stateprogressbar I have the implement new thing with it the user can create dynamically the number of states.

If you want of I can share my code with you.

Thank You

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/kofigyan/StateProgressBar/issues/24#issuecomment-464995600, or mute the thread https://github.com/notifications/unsubscribe-auth/ABKgpD7t0sgWAPG36_iPun7kCLRqHIM3ks5vO5JSgaJpZM4Pa5mG .