Skip to content

Commit

Permalink
Start a picker to choose image if no image uri is provided to Activit…
Browse files Browse the repository at this point in the history
…yBuilder
  • Loading branch information
Ajay Dwivedi committed Oct 28, 2016
1 parent 4294250 commit e1767de
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
* Added value you get out-of-the-box is some edge case handling that you may miss otherwise, like the
* stupid-ass Android camera result URI that may differ from version to version and from device to device.
*/
@SuppressWarnings("WeakerAccess, unused")
public final class CropImage {

//region: Fields and Consts
Expand Down Expand Up @@ -379,14 +380,15 @@ public static final class ActivityBuilder {
/**
* The image to crop source Android uri.
*/
@Nullable
private final Uri mSource;

/**
* Options for image crop UX
*/
private final CropImageOptions mOptions;

private ActivityBuilder(@NonNull Uri source) {
private ActivityBuilder(@Nullable Uri source) {
mSource = source;
mOptions = new CropImageOptions();
}
Expand Down

0 comments on commit e1767de

Please sign in to comment.