/Countries

kotlin with countries

Primary LanguageKotlin

Countries

kotlin with countries Countries

I developed this application with kotlin language. The aim is to learn about countries. For example, you can learn the country's flag, currency, region, capital and language through this application.

Major technologies

  • MVVM
  • RxJava(I pulled data using single class)
  • Room(I used three annotations to save: Insert, delete, Query)
  • Retrofit(ı used Gson to convert variable)
  • Live data(I used three live data variables. These are the variable that holds the error, loading and data)
  • Navigation companent(For a powerful application, it is necessary to use navigation. Single activity, multiple fragments.)
  • Coroutine(I used it for data operations. to save data to local database)
  • Data binding(i used databinding to take up less space.This way is very efficent)
  • Shared preference(If you want to save the data, you can use the shared preference. I used this to save time. if time is greater than 10 I will get data from room database. Otherwise I will get it using api)
  • Glide(I used glide to load the images. If the upload is "loading", it will be "circular bar". If "error", the wrong image will be shown.)

this app video

coutry.mov

LICENSE

MIT License

Copyright (c) 2023 EYYÜP ERDOĞAN

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.