You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -104,7 +104,7 @@ Almost 90% of the app that I have developed has an Image upload feature. Along w
104
104
4. Handling results
105
105
106
106
107
-
**Default method**
107
+
**Default method(Preferred way)**<br>
108
108
Override `onActivityResult` method and handle ImagePicker result.
109
109
110
110
```kotlin
@@ -128,10 +128,10 @@ Almost 90% of the app that I have developed has an Image upload feature. Along w
128
128
}
129
129
```
130
130
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
+
132
133
```kotlin
133
134
ImagePicker.with(this)
134
-
.crop(1f, 1f) //Crop Square image(Optional)
135
135
.compress(1024) //Final image size will be less than 1 MB(Optional)
136
136
.maxResultSize(1080, 1080) //Final image resolution will be less than 1080 x 1080(Optional)
0 commit comments