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

contributors name added to about page #375

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

contributors name added to about page #375

wants to merge 3 commits into from

Conversation

aniket691
Copy link

#238
Issue Link: #238
Solution: I have added the contributors' names on the about page using GitHub API and retrofit

@adeekshith
Copy link
Owner

Hi @aniket691 👋😃
Thank you for the contribution. Will review this soon

app/build.gradle Outdated
@@ -88,6 +88,9 @@ dependencies {
implementation "com.squareup.okhttp3:logging-interceptor:4.7.2"
implementation 'com.github.transferwise:sequence-layout:1.1.1'
implementation "androidx.browser:browser:1.3.0"

// https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.0.1'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @aniket691,
I have never used this library, but without using this also we can get the required response.
Is it really needed? What are the advantages of this can you please explain.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can remove it.
It just helps give different names in model class. And we annotate and map
variable names with json object variable names.
#####################
But it helps to create response class fast.
https://www.jsonschema2pojo.org/
This tool requires this library.
And it helps to create a pojo class directly with json response in very
fast.
Just with one click.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @aniket691 we are already using Gson library in this project for JSON parsing. Can the same be used here instead of Jackson? Nothing against Jackson but just want to limit external dependencies.

But this is a great contribution. Thanks for that. We may want to improve the UI a little bit but can do in further iterations 😊

Copy link
Author

@aniket691 aniket691 Nov 12, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes
I have removed the library jackson
we are now only using gson

@aniket691
Copy link
Author

aniket691 commented Nov 21, 2021 via email

@mawoka-myblock
Copy link
Collaborator

@adeekshith Pong!

@aniket691
Copy link
Author

have you reviewed the code

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

Successfully merging this pull request may close these issues.

None yet

4 participants