Compressor
Compressor copied to clipboard
Suggestion: Add some listener
Hi, I need to do something after the compressing finished. So I cant find OnComplateListener
or etc in this library. Please add it in the next update.
If you want to do something after the compressing finished, just do it below the line you do the compressing.
val compressedImageFile = Compressor.compress(context, actualImageFile) // compressing the image
myFunction() // do something after the compressing finished
No need listener or callback.
Is there any progress listener @zetbaitsu in order to display for example 50% done.