Create an app using MVVM architecture. Add below features in the app
Budget: ₹600 – ₹1,500 INR
Create an app using MVVM architecture. Add below features in the app
1- The app should have one activity and 2 fragments
2- 1st Fragment will display the list of user in a recycler view using view holder pattern and it will have load more section to fetch next page data.
3- On the tap of list item it should us on 2nd fragment (Use Jetpack navigation components for this)(pass the userId to second page)
4- 2nd page will hit another API to get single user response (Use the 1st page userId to get the data)
API END POINT - https://reqres.in/api/users?page=1 (for list of user)
API END POINT - https://reqres.in/api/users/2 (for second page)
Please use
1- Coroutine
2- Live data/flow
3- ViewModel
4- Navigation Component
5- Retrofit, OKHttp, GSON
6- DI
Please write the unit test case for your
ViewModel
Repository
Network layer
1- The app should have one activity and 2 fragments
2- 1st Fragment will display the list of user in a recycler view using view holder pattern and it will have load more section to fetch next page data.
3- On the tap of list item it should us on 2nd fragment (Use Jetpack navigation components for this)(pass the userId to second page)
4- 2nd page will hit another API to get single user response (Use the 1st page userId to get the data)
API END POINT - https://reqres.in/api/users?page=1 (for list of user)
API END POINT - https://reqres.in/api/users/2 (for second page)
Please use
1- Coroutine
2- Live data/flow
3- ViewModel
4- Navigation Component
5- Retrofit, OKHttp, GSON
6- DI
Please write the unit test case for your
ViewModel
Repository
Network layer