Tag: android

  • Gradle Version Catalogs

    Gradle Version Catalogs

    As many of you already might know, Gradle has introduced a new (yet unstable) way to centralize dependency declarations. In huge codebases and in multi-module projects, managing gradle dependencies has always been hard. Another problem that previous solutions had, was that no two projects were using gradle declaration or configurations the same. In Android, you…

  • Gradle Convention Plugin

    Gradle Convention Plugin

    As many of us already know, the Google Android team will soon start using a new way of applying plugins in Android/Kotlin modules. It’s more an improvement and a try to centralize the plugin usage, rather than just copying or having duplicate code all around the android/kotlin modules in your project. In case your plugin…

  • A comparison between Flutter’s Injectable and Dagger 2

    A comparison between Flutter’s Injectable and Dagger 2

    I have been playing around with Flutter lately. More specifically I discovered Injectable; a dependency injection tool for Flutter, also built by google, but extremely similar to Dagger 2. Since I also feel very comfortable in Dagger 2, I would like to make some comparisons between them. Differences Generated code The biggest difference they have…

  • First look on Hilt

    First look on Hilt

    onCreate A new Dependency Injection library called Hilt was presented from the Google team. It was designed on top of Dagger library and provides a simpler, less boilerplate API to handle dependencies in an Android application. As first try, it was a real game changer. Therefore, we will make a short introduction to it, and…

  • Using git from Android Studio. A quick guide.

    Using git from Android Studio. A quick guide.

    We all know how important version control is. One can save a lot of time in case conflicts occur or things go really bad. But we can still argue which tool is the best for using Git. That’s because Git in general is abstract, and visualizing it is somehow hard, as this also needs to…