GithubHelp home page GithubHelp logo

android_kotlin-cleanarchitecture_hilt's Introduction

Android(Kotlin)-CleanArchitecture_Hilt

Language : 日本語 , English
  • Android_Kotlin-MVVM_Hilt프로젝트와 같은 기능

  • CleanArchitecture 사용

  • LiveData, ViewModel, Observer메소드를 이용하여 실시간으로 UI변경

  • Recyclerview, dataBinding 등등 사용

  • DI(Dependency injection)으로 Hilt사용

  • 영화 진흥 위원회 API를 사용


흐름

위의 사진 처럼 모듈을 data, domain, presentaiton으로 구성

 data에서 데이터를 습득 하여 domain 전달

  ↳ domain에서 데이터를 필요에 맞게 변형 시킨후 presentation으로 전달

     ↳ presentation에서 전달 받은 데이터로 이용하여 view를 표시

Hilt Module은 presentation에서 설정



1. Data Module

datasource + mapper + model 로 데이터를 얻고 RepositoryImpl 를 통해 usecase에 전달

Domain에 Repository interface가 존재

2. Domain Module

model + usecase 로 데이터 변형 후 presentation에 전달

Repository Interface가 존재

3. Presentation Module

ViewModel 에서 usecase를 이용 하여 View에 데이터 전달

android_kotlin-cleanarchitecture_hilt's People

Contributors

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