You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.
In MainActivity create a new method named getLeaderBoardData().
Use fectchApiSingelton instance to fetch data from the API: https://opencodeiiita.herokuapp.com/get-all-data/?page=page_number, where the value of page_number is the page number (Used in pagination).
Use the concept of pagination while fetching the data from the API.
Add a new attribute score to the Participant class, create a setter and getter for the same.
Fetch the data into ArrayList<Participant>.
Set values for all the given attributes except for twiiterId and facebookId.
Each Participant object has an ArrayList<Repo> which stores the merged PRs and data corresponding to it.
Calculate score by taking summation of points of all the merged PRs.
Note
Before starting work on this issue, update your main branch with the main branch of the
main repository.
Create a new branch from the main working on this issue and give it a meaningful name.
Note that you must have completed the following issues to claim this issue:
Issue Description
MainActivity
create a new method namedgetLeaderBoardData()
.https://opencodeiiita.herokuapp.com/get-all-data/?page=page_number
, where the value of page_number is the page number (Used in pagination).score
to theParticipant
class, create a setter and getter for the same.ArrayList<Participant>
.twiiterId
andfacebookId
.Participant
object has anArrayList<Repo>
which stores the merged PRs and data corresponding to it.score
by taking summation of points of all the merged PRs.Note
main
branch with themain
branch of themain repository.
main
working on this issue and give it a meaningful name.The text was updated successfully, but these errors were encountered: