This is an app which you can get information and add your favourites the countries. You can download app and install from here.
- Developed with Kotlin.
- Used Coil Library as SVG Image loader.
- Used Navigation Component for flow.
- Used Retrofit for getting data from api.
I start with creating navigation_graph. I implemented necessary libraries.
Then created navigation map.
After create algorithm , I desinged main screen. I used bottom navigation menu in main screen. The app has three different fragment. Home, Saved and Detail fragment. In home fragment, there is a recyclerview and toolbar. I get country data from API and list on Recyclerview in home fragment also in saved fragment.
Then I designed Detail Screen. I get country code, name, wikiDataId, flagImageUri. Images which i get over api are in svg format. I load svg images with coil library. I set a listener on "for more information button" to go to wikiData page.
I have included more detailed explanations in the code.
- Open this repository with Android Studio
- You need to add Rapid API Key. You can get Api Key from here.