Tag: resocoder

Android Kotlin: Forecast App 09 – Location Infrastructure – MVVM Tutorial Course

📗 Get the code from this tutorial 👇👇 In the last episode we’ve created the settings fragment. We’ve already successfully implemented the unit system setting with which a user can switch between metric and imperial values. There are also some settings which we haven’t touched yet, though. Those are related to location. Location is quite […]

Gson Android Kotlin Tutorial – Convert Interfaces to & from JSON

Gson is an open-source JSON library which aims to be simple and quick to use while providing a bunch of options to accommodate even some complex use cases. In this tutorial you’re going to learn how to serialize and parse interfaces to JSON strings. An interface cannot be instantiated so we need to somehow remember […]

Create a Complex RecyclerView Quickly with Groupie Library – Android Kotlin RecyclerView Tutorial

RecyclerView has become a standard element in any kind of Android app. It’s fast and efficient – at least for the user. For developers, however, it’s an entirely different story. You have to manage so many things – create adapters, keep track of multiple view types and span sizes (when you’re using a GridLayoutManager). Let’s […]

Android Kotlin: Forecast App 06 – Current Weather View & ViewModel – MVVM Tutorial Course

📗 Get the code from this tutorial 👇👇 We have already created a Retrofit service, WeatherNetworkDataSource as an abstraction on top of that service, local database with entities and DAO using the Room library and lastly a repository to rule them all. So, technically speaking, we currently have the model layer done. What’s missing to […]

Dependency Injection with Kodein & MVVM Architecture – Android Kotlin Tutorial

📗 Get the code from this tutorial 👇👇 💉 Kodein Docs: Start saving time now by planning weekly with Week Sweep: Not a single software developer ever said that a more loosely coupled code gives him headaches. On the contrary, tight coupling can and will create a bunch of things that are hard to deal […]