image cropper android code example
Example 1: image cropper implementation
dependencies {
api 'com.theartofdev.edmodo:android-image-cropper:2.8.+'
}
Example 2: image cropper implementation
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
Example 3: image cropper implementation
CropImage.activity()
.setGuidelines(CropImageView.Guidelines.ON)
.start(this);
CropImage.activity(imageUri)
.start(this);
CropImage.activity()
.start(getContext(), this);