Open arp95 opened 7 years ago
I'm referring to this class - https://github.com/hasgeek/internship-test-android/blob/master/app/src/main/java/com/karthikb351/mobiledevinternshiptest/network/APIService.java
All it should do is build the GitHubApiInterface
(with Retrofit) with GitHub's API's URL.
The Quick start for Retrofit uses almost the same example - https://square.github.io/retrofit/
Just to clarify the stuff is going on like this, I make a call to APIService class which builds a retrofit object inturn calls the github api , then the githubService interface takes all the json stuff and converts it . Am i going right?
@arp95 Yes exactly! That's how it is supposed to be done. :+1:
Regarding the repos i want to list , will listing the repos of hasGeek will work ? An should i make each item of the recyclerview clickable if details screen is needed?
@arp95 The repos of hasgeek will work just fine. :+1: Also, there is nothing mentioned in the prerequisite about adding onClick for the recyclerView items, so I don't think that it is compulsory.
@karthikb351 have completed the mentioned task. is it fine submitting a pull request right now or do something more to this task?
Hi karthik, What do you mean by using APIService class ? Are you referring to using retrofit api call?