Compressor
Compressor copied to clipboard
It does not work with fragments
How can i make it work with fragments, been getting unresolved reference.

Try to add manually import id.zelory.compressor.Compressor then you can use Compressor class like this
Compressor(context)
.setMaxWidth(620)
.setMaxHeight(380)
.setQuality(75)
....