Tourenathan-G5organisation / SiliCompressor

A powerful, flexible and easy to use Video and Image compression library for Android.
Apache License 2.0
1.39k stars 292 forks source link

Callback for Image Compression #70

Open brijhub opened 6 years ago

brijhub commented 6 years ago

I'm compressing multiple images in for loop and I want to show progress dialog until compression for all images are done. How do I get any callback so I can Dismiss my dialog once the compression is done.

Looking for help

Tourenathan-G5organisation commented 6 years ago

you can use an IntentService and do all your operations from there. When you are done, you can notify your component listening for the event