ArthurHub / Android-Image-Cropper

Image Cropping Library for Android, optimized for Camera / Gallery.
Apache License 2.0
6.39k stars 1.38k forks source link

Unable to upload video in fragment #737

Open poojashah23996 opened 4 years ago

poojashah23996 commented 4 years ago

CropImage.activity() .setGuidelines(CropImageView.Guidelines.ON) .start(requireContext(), this,true)

this method throws compile time error as CropImage java file provides method like this

public void start(@NonNull Context context, @NonNull Fragment fragment) { fragment.startActivityForResult(getIntent(context), CROP_IMAGE_ACTIVITY_REQUEST_CODE); }

Canato commented 3 years ago

Hey!

I start a new project to handover this library https://github.com/CanHub/Android-Image-Cropper

The ideia is that we keep improving because this project don’t have updates since 2018 Hope I can count with your help.

Open to contribute, next pieces of work will be Android 11 permissions, refactor into Kotlin and ActivityContract