dmytrodanylyk / android-process-button

Android Buttons With Built-in Progress Meters.
http://dmytrodanylyk.com/pages/portfolio/portfolio-process-button.html
MIT License
3k stars 545 forks source link

using ProcessButton in fragment #27

Closed S-Masoud-Emamian closed 10 years ago

S-Masoud-Emamian commented 10 years ago

hi I would like to use ProcessButton in the fragment. when I want to create an object of ProgressGenerator, an error appears :

=> The constructor ProgressGenerator(FragmentActivity) is undefined

        final ProgressGenerator progressGenerator = new ProgressGenerator(getActivity());
        progressGenerator.start(mybtn);
dmytrodanylyk commented 10 years ago

Hi, ProgressGenerator is a class that emulate loading time from 0 to 100, so it's not included in library - you can find it here.