Giter Club home page Giter Club logo

githubapp's Introduction

GithubApp

Github Action CI

A small sample app majorily build to learn and test the performance of latest Koin dependency Injection along side with latest Kotlin Corooutines for network request and Coil(Kotlin-first image loading library).

Languages, libraries and tools used

Future Roadmap Features

  • MVI Architecture
  • Koin UnitTest
  • Room with Koin and Kotlin Corooutines

Demo

NAndroid

Koin vs Dagger

Koin Dagger
Written in Kotlin Written in Java
Errors are fired at runtime Errors can be found at compile time
Do not use annotations Use annotations
Dedicated library to work with ViewModel (Android Jetpack) Not interaction with ViewModel

APK Build with Koin dependency Injection

Apk Analyser

APK Build with Dagger2 dependency Injection

Apk Analyser

Conclusions

Dagger and Koin are great dependency injection frameworks. Dagger has the advantage of being in the market for a longer time than Koin. If you're a Kotlin developer, it will be easier to start with Koin instead of Dagger. Although, Dagger has more information in blogs, articles, and questions on Stack Overflow. Finally, Koin is a great alternative for small and medium- sized apps as Dagger is older and more mature framework when it comes to big projects with a distributed team.

Prerequisites

  • Android Studio 3.4
  • Gradle version 3.4.2
  • Kotlin version 1.3.50
  • Android Device with USB Debugging Enabled

Built With

Thanks for reading this repo. Be sure to click β˜… below to recommend this repo if you found it helpful. It means a lot to me.

For more about programming, follow me on Medium

Also, Let’s become friends on Linkedin

githubapp's People

Contributors

yash786agg avatar yashaggind avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.