SimpleCropView
SimpleCropView copied to clipboard
Changed bitmap information not updated.
private static boolean test = true; // global variable
if (test) {
bitmap = BitmapFactory.decodeResource(getResources(), R.drawable.sample1);
mCropView.setImageBitmap(bitmap);
test = false;
} else {
bitmap = BitmapFactory.decodeResource(getResources(), R.drawable.sample5);
mCropView.setImageBitmap(bitmap);
test = true;
}
here, when the sample5 load that time image specification is 918x611 but after above code executed then image specification changed to 1836x1222 then after one more time select original image but image specification not changed.