-
-
Notifications
You must be signed in to change notification settings - Fork 259
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add java sample and fix bug calling lib from java #125
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is some great work! thanks
We are closer to have it fully working on java =D
Besides the comments that I put, please feel free to already fix the bugs you find when you try to use the methods in java =)
sample/src/main/java/com/canhub/cropper/sample/extend_activity/app/SExtendActivityJava.java
Outdated
Show resolved
Hide resolved
sample/src/main/java/com/canhub/cropper/sample/extend_activity/app/SExtendActivityJava.java
Outdated
Show resolved
Hide resolved
sample/src/main/java/com/canhub/cropper/sample/extend_activity/app/SExtendActivityJava.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Canato
I hope I already made all you requested in previous comments
Please let me know is something missing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! improving, but still need some work on it.
sample/src/main/java/com/canhub/cropper/sample/camera_java/app/SCameraFragmentJava.java
Outdated
Show resolved
Hide resolved
sample/src/main/java/com/canhub/cropper/sample/camera_java/app/SCameraFragmentJava.java
Outdated
Show resolved
Hide resolved
sample/src/main/java/com/canhub/cropper/sample/extend_activity/app/SExtendActivityJava.java
Outdated
Show resolved
Hide resolved
sample/src/main/java/com/canhub/cropper/sample/extend_activity/app/SExtendActivityJava.java
Outdated
Show resolved
Hide resolved
sample/src/main/java/com/canhub/cropper/sample/camera_java/app/SCameraFragmentJava.java
Outdated
Show resolved
Hide resolved
sample/src/main/java/com/canhub/cropper/sample/camera_java/app/SCameraFragmentJava.java
Outdated
Show resolved
Hide resolved
sample/src/main/java/com/canhub/cropper/sample/camera_java/app/SCameraFragmentJava.java
Outdated
Show resolved
Hide resolved
Hello @Canato Please check my latest commit for the revisions. Thank you |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Solid effort 👏
We are almost done! just need to bring the final implementations (I comment on it, so I won't forget) !
Thanks for the hard work, sorry to take longer to review, I'm switching off now, back tomorrow!
sample/src/main/java/com/canhub/cropper/sample/camera_java/presenter/SCameraPresenterJava.java
Outdated
Show resolved
Hide resolved
sample/src/main/java/com/canhub/cropper/sample/camera_java/presenter/SCameraPresenterJava.java
Outdated
Show resolved
Hide resolved
sample/src/main/java/com/canhub/cropper/sample/camera_java/presenter/SCameraPresenterJava.java
Outdated
Show resolved
Hide resolved
sample/src/main/java/com/canhub/cropper/sample/camera_java/presenter/SCameraPresenterJava.java
Outdated
Show resolved
Hide resolved
I already open the remark that you need. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I add some changes need to make this piece work!
We are close to have it running so we can release =)
Please don't forget to:
- Update the Changelog
- Format your code
To format you code select all the code cmd+a
and click control+option+i
and control+option+L
this will fix the spacing and index based on the project codestyle.
If you don't use mac need to find this commands online, sorry I only know using mac
sample/src/main/java/com/canhub/cropper/sample/camera_java/domain/SCameraContractJava.java
Outdated
Show resolved
Hide resolved
sample/src/main/java/com/canhub/cropper/sample/camera_java/app/SCameraFragmentJava.java
Show resolved
Hide resolved
sample/src/main/java/com/canhub/cropper/sample/camera_java/app/SCameraFragmentJava.java
Outdated
Show resolved
Hide resolved
sample/src/main/java/com/canhub/cropper/sample/camera_java/app/SCameraFragmentJava.java
Outdated
Show resolved
Hide resolved
sample/src/main/java/com/canhub/cropper/sample/camera_java/app/SCameraFragmentJava.java
Outdated
Show resolved
Hide resolved
sample/src/main/java/com/canhub/cropper/sample/camera_java/presenter/SCameraPresenterJava.java
Outdated
Show resolved
Hide resolved
sample/src/main/java/com/canhub/cropper/sample/camera_java/presenter/SCameraPresenterJava.java
Outdated
Show resolved
Hide resolved
sample/src/main/java/com/canhub/cropper/sample/camera_java/presenter/SCameraPresenterJava.java
Outdated
Show resolved
Hide resolved
sample/src/main/java/com/canhub/cropper/sample/camera_java/presenter/SCameraPresenterJava.java
Outdated
Show resolved
Hide resolved
sample/src/main/java/com/canhub/cropper/sample/camera_java/presenter/SCameraPresenterJava.java
Outdated
Show resolved
Hide resolved
Hey @junaediwidjojo this working is going amazing
sorry, what you mean by "remark"?
indeed! I add a review showing how to solve this so we can release soon |
Thanks for the great feedback! I mean remark is comment, just forget about my misconcept |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All good! I'm happy to merge as soon you update the changelog!
We will release this today 🎉
BTW, the CI is complaning: Don't forget to run the Codestyle, how to do this |
Trying to fulfill your request. Let me know if something need to be configured again. |
All looking good, we just need the CHANGELOG update =D Solid work @junaediwidjojo |
Hello @Canato Is this still necessary to update the change log? I see you already merge the branch. Anyway, to use the fixed version, I need to load version 3.1.0, is that correct? |
Not necessary anymore, I wanted to release so I did my self. Thanks for the amazing work. Indeed, version 3.1 should work |
sample for #113
Bug
Cause:
CropImage.getActivityResult not working in java Code
I add some sample java code to help you solve this issue.
Let me know what you need more to fix this bug.