“Implementasi Cropper Gambar” Kode Jawaban

Implementasi Cropper Gambar

dependencies {
    api 'com.theartofdev.edmodo:android-image-cropper:2.8.+'
}
Friendly Falcon

Implementasi Cropper Gambar

// start picker to get image for cropping and then use the image in cropping activity
CropImage.activity()
  .setGuidelines(CropImageView.Guidelines.ON)
  .start(this);

// start cropping activity for pre-acquired image saved on the device
CropImage.activity(imageUri)
 .start(this);

// for fragment (DO NOT use `getActivity()`)
CropImage.activity()
  .start(getContext(), this);
Friendly Falcon

Jawaban yang mirip dengan “Implementasi Cropper Gambar”

Pertanyaan yang mirip dengan “Implementasi Cropper Gambar”

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya