-
-
Notifications
You must be signed in to change notification settings - Fork 91
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
base: main
Are you sure you want to change the base?
contributors name added to about page #375
Conversation
Hi @aniket691 👋😃 |
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' |
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.
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.
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.
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.
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.
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 😊
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.
yes
I have removed the library jackson
we are now only using gson
i have removed jackson please review it.
…On Tue, Nov 9, 2021 at 8:23 PM Deekshith Allamaneni < ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In app/build.gradle
<#375 (comment)>:
> @@ -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'
Hi @aniket691 <https://github.com/aniket691> we are already using Gson
library
<https://github.com/adeekshith/watomatic/blob/04d1250527f2adfdfb2a51c308998b7c346e0f76/app/build.gradle#L84>
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 😊
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#375 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOAK3QQSE7WCG3SPZJMEHSTULEYXBANCNFSM5HNM63CQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
app/src/main/java/com/parishod/watomatic/activity/about/AboutActivity.java
Show resolved
Hide resolved
@adeekshith Pong! |
have you reviewed the code |
#238
Issue Link: #238
Solution: I have added the contributors' names on the about page using GitHub API and retrofit