This is a native eCommerce App based on REST APIs to display the various information gotten from this sea animals endpoint (https://www.fishwatch.gov/api/species) There are two layouts in this application, the first displays a list of sea animals information which are species name, habitat impacts and the Specie Illustration Photo src The second display a list of content of the image gallery.
- The entire codebase is in Kotlin
- Networking with Retrofit
- Kotlin Coroutines.
- MVVM Architecture by Architecture Components
- Android JetPack Navigation Navigation
- Hilt Android with Dagger for dependency injection
- Unit Testing by Mockito
- Tests Coroutines and architecture components like ViewModel
- Uses Kotlin Coroutines Test to unit test Kotlin Coroutines
This app runs on all Android devices not lower than SDK 21. Make sure there is internet availability to fetch data from the web service, the first screen fetched is the list of sea animals details a click of an item on the list, navigates you to the detail page of that particular sea animal displaying its image gallery.
Running this app unit testing is quite simple click on the test folder on the file tree in Android Studio after, right click for options you see the run icon click to run the test and wait for the result.
-
Code Structuring The API response need to be more consistent in data struture
-
Additional Features The codebase follows a single Activity approach code Architecture with SOLID principles.
Copyright (c) 2022 Bamidele Oguntuga
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software").