Giter Site home page Giter Site logo

ramandahiya / -kotlin-mvvm-livedata-retrofit-coroutine-databinding Goto Github PK

View Code? Open in Web Editor NEW
8.0 1.0 7.0 30.88 MB

Sample Kotlin android project using MVVM Design pattern with Data Binding, Retrofit , Live Data and Coroutine.

Kotlin 99.69% Java 0.31%
mvvm-design-pattern mvm data-binding retrofit live-data coroutine sample kotlin-android

-kotlin-mvvm-livedata-retrofit-coroutine-databinding's Introduction

-Kotlin-MVVM-LiveData-Retrofit-Coroutine-DataBinding

kotlin-mvvm

Languages: English

Kotlin Gradle Mockito

MVVM(Model View ViewModel) sample in Kotlin using the components ViewModel, LiveData, the libraries Retrofit, coroutine and Data Binding .

MVVM Pattern (Model View ViewModel)

Architecture

Flow

Slides

Android MVVM https://docs.google.com/presentation/d/1nTwtU8OWYs_8Q3i_3hOPAWodDpDKzO--uA-4b6LUr8g/edit?usp=sharing

Android MVVM Clean https://docs.google.com/presentation/d/1luTzvqGaMjVycEx109-AjYIj3FIpXYAt3Mnu-gjqxtc/edit?usp=sharing

Updates [August 2020]

  • Added dependency injection with Hilt, included android tests branch hilt

  • Added unit tests with Flow branch flow

  • Added kotlin Flow and fragment ktx branch flow

  • Room branch room

  • Added View Binding branch viewbinding

  • Dependencies versions were updated and ViewModelProviders class was removed (deprecated). all branches

  • Added Coroutines with retrofit and sealed classes to replace callbacks. Included testing with Coroutines. branch coroutines

  • Added Unit Testing with Mockito (27th May) Link

  • Fix load images android P by Carlos Ugaz carlosgub Link

Dependencies

References

Contributing and reporting issues

You can to contribute in this repository.

I appreciate any question or comment. Also, if you consider it useful, you can give me a star ⭐ ⭐ ⭐ ⭐ ⭐.

-kotlin-mvvm-livedata-retrofit-coroutine-databinding's People

Contributors

ramandahiya avatar triadwebprojects avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.