Skip to content

Commit d16daca

Browse files
authored
Added notes to not use InlineActivityResult
Added notes to not use InlineActivityResult
1 parent 68969ad commit d16daca

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ Almost 90% of the app that I have developed has an Image upload feature. Along w
104104
4. Handling results
105105
106106
107-
**Default method**
107+
**Default method(Preferred way)**<br>
108108
Override `onActivityResult` method and handle ImagePicker result.
109109
110110
```kotlin
@@ -128,10 +128,10 @@ Almost 90% of the app that I have developed has an Image upload feature. Along w
128128
}
129129
```
130130
131-
**Inline method (with InlineActivityResult library, Only Works with FragmentActivity and AppCompatActivity)**
131+
**Inline method (with InlineActivityResult library, Only Works with FragmentActivity and AppCompatActivity) (Not to be used with crop. See [#32](https://github.com/Dhaval2404/ImagePicker/issues/32))**
132+
132133
```kotlin
133134
ImagePicker.with(this)
134-
.crop(1f, 1f) //Crop Square image(Optional)
135135
.compress(1024) //Final image size will be less than 1 MB(Optional)
136136
.maxResultSize(1080, 1080) //Final image resolution will be less than 1080 x 1080(Optional)
137137
.start { resultCode, data ->

0 commit comments

Comments
 (0)