Code Monkey home page Code Monkey logo

libraryapp's Introduction

LibraryApp

I have created a sample Android library application that has a local database you can insert, update, delete, and get all data. I have used Kotlin Coroutines library for all these database query processes'. Because for the best performance you don't want to make database queries in the main thread. You should work at the background thread and Kotlin Coroutines library gives you good performance and reliability.

The project built on MVVM architecture with Android Databinding. Also, it has Android Jetpack components and Kotlin language features.

You can learn from this project how to create Room Database and make queries with it. Also, understanding MVVM architecture and Kotlin language. Plus, the usage of Android Data Binding with implementation .xml layout files.

You can also take a look at DiffUtil feature which for updating your adapters' data in a more efficient way.

New Update : I've added the Dagger 2 Dependency Injection mechanism to my project to make the app more efficient and more stable. With this library, it makes a big difference in the big scale Android projects about the app's performance, stability, and reliability. About the Dagger 2 Dependency Injection : https://github.com/google/dagger

The list of features that my project has:

  • Android Data Binding
  • Room Persistence Library
  • Dagger 2 Dependency Injection
  • MVVM Architecture
  • Kotlin
  • Kotlin Coroutines
  • DiffUtil

The list of Android Jetpack components that I have used:

  • Room
  • Data Binding
  • ViewModel
  • LiveData
  • Lifecycles

libraryapp's People

Contributors

10zgurr avatar

Stargazers

 avatar  avatar  avatar  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.