File tree Expand file tree Collapse file tree
cropper/src/main/kotlin/com/canhub/cropper Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -90,6 +90,7 @@ class CropImageView @JvmOverloads constructor(
9090 * If false the bitmap is not saved and if restore is required to view will be empty, storing the
9191 * bitmap requires saving it to file which can be expensive. default: false.
9292 */
93+ @Deprecated(" This functionality is deprecated, please remove it altogether or create an issue and explain WHY you need this." )
9394 var isSaveBitmapToInstanceState = false
9495
9596 /* *
@@ -1084,7 +1085,7 @@ class CropImageView @JvmOverloads constructor(
10841085 }
10851086
10861087 val bundle = Bundle ()
1087- val loadedImageUri =
1088+ @Suppress( " DEPRECATION " ) val loadedImageUri =
10881089 if (isSaveBitmapToInstanceState && imageUri == null && mImageResource < 1 ) {
10891090 BitmapUtils .writeTempStateStoreBitmap(
10901091 context = context,
@@ -1807,6 +1808,7 @@ class CropImageView @JvmOverloads constructor(
18071808 val a = context.obtainStyledAttributes(attrs, R .styleable.CropImageView , 0 , 0 )
18081809 val default = CropImageOptions ()
18091810 try {
1811+ @Suppress(" DEPRECATION" )
18101812 isSaveBitmapToInstanceState = a.getBoolean(R .styleable.CropImageView_cropSaveBitmapToInstanceState , isSaveBitmapToInstanceState)
18111813
18121814 CropImageOptions (
You can’t perform that action at this time.
0 commit comments