Compressor icon indicating copy to clipboard operation
Compressor copied to clipboard

It does not work with fragments

Open acetechnology opened this issue 6 years ago • 1 comments

How can i make it work with fragments, been getting unresolved reference. screen shot 2018-03-16 at 9 44 53 am

acetechnology avatar Mar 16 '18 08:03 acetechnology

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)
    ....

OlehHaidaienko avatar Aug 30 '18 06:08 OlehHaidaienko