Skip to content
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

Merged
merged 8 commits into from
May 9, 2021

Conversation

junaediwidjojo
Copy link
Contributor

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.

Copy link
Member

@Canato Canato left a 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 =)

Copy link
Contributor Author

@junaediwidjojo junaediwidjojo left a 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

Copy link
Member

@Canato Canato left a 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.

@junaediwidjojo
Copy link
Contributor Author

Hello @Canato

Please check my latest commit for the revisions.

Thank you

Copy link
Member

@Canato Canato left a 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!

@junaediwidjojo
Copy link
Contributor Author

I already open the remark that you need.
Actually that's the bug in java when CropImage.getActivityResult(data) is marked as error in Java

Copy link
Member

@Canato Canato left a 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

@Canato
Copy link
Member

Canato commented May 7, 2021

Hey @junaediwidjojo this working is going amazing

I already open the remark that you need.

sorry, what you mean by "remark"?

Actually that's the bug in java when CropImage.getActivityResult(data) is marked as error in Java

indeed! I add a review showing how to solve this so we can release soon

@junaediwidjojo
Copy link
Contributor Author

Thanks for the great feedback!
I already revised it, just let me know if something bothering you again.

I mean remark is comment, just forget about my misconcept

Copy link
Member

@Canato Canato left a 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 🎉

.idea/codeStyles/Project.xml Outdated Show resolved Hide resolved
@Canato
Copy link
Member

Canato commented May 7, 2021

BTW, the CI is complaning:
SMainActivity.kt Unused import

Don't forget to run the Codestyle, how to do this

@junaediwidjojo
Copy link
Contributor Author

Trying to fulfill your request.
Hope that satisfy you well.

Let me know if something need to be configured again.

@Canato
Copy link
Member

Canato commented May 8, 2021

Trying to fulfill your request.
Hope that satisfy you well.

Let me know if something need to be configured again.

All looking good, we just need the CHANGELOG update =D
Updating the CHANGELOG

Solid work @junaediwidjojo

@Canato Canato changed the title Jundev Add java sample and fix bug calling lib from java May 9, 2021
@Canato Canato merged commit 4ab6cae into CanHub:main May 9, 2021
@junaediwidjojo
Copy link
Contributor Author

Hello @Canato
sorry for late reply

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?

@Canato
Copy link
Member

Canato commented May 11, 2021

Hello @Canato
sorry for late reply

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants