Git Product home page Git Product logo

bora's Introduction

YAPP 14기 4조 프로젝트

'BORA' 앱 소개

Emotion Record by colors (색깔을 통한 감정 관리 서비스)

  • 🤹‍감정 + 📖일기 + 🎨그림 = 한줄 감성일기 캘린더앱

  • 각 날짜의 내 감정을 색상과 한 줄로 표현합니다.

  • 내용을 토대로 필터가 적용된 감정 사진을 확인할 수 있습니다.

  • 통계를 통해 월별로 가장 많이 선택한 감정을 확인할 수 있습니다.

기초 Architecture

  1. AAC VIewModel 사용

    • 팀내 Java 전공자가 대부분이므로, Java 기반으로 로직 구성

      사용 rule

      • ViewModel 내에서는 context 를 사용하지 않는다.
      • ViewModel에서 View를 갱신할 때, LiveData(or SIngleLiveEvent) 또는 DataBinding을 활용해서 알린다.
      • View와 ViewModel의 의존성을 줄임 ex> ViewModel 내의 데이터가 수정되더라도, View 수정 내용이 최대한 없도록 설계
      • Activity의 onDestroy() 동작 시, ViewModel 내부의 onCleared() 를 통해 LiveData 를 초기화한다.
  2. DataBinding

    • 팀원이 Java가 대부분이므로 Java 기반으로 로직 구성

      1, 2 example
      Use DataBinding & AAC ViewModel : TemplateActivity
      Not Use : NouseActivity

  3. Kotlin

    • 사용 희망하는 팀원에 따라 Kotlin 파일 사용할 수 있도록 구성

      3 example
      Use DataBinding & AAC ViewModel : SplashActivity
      Not Use : MainActivity

  4. LiveData

    • LiveData를 통한 observe
  5. 추후 활용 예정 기능

    • Retrofit
    • RxJava

앱내 주요 기능 및 컴포넌트

  1. 캘린더
  2. 차트 - MPAndroidChart

참고 Reference

  1. https://thdev.tech/androiddev/2018/08/05/Android-Architecture-Components-ViewModel-Inject/
  2. java clean architecture - mvvm

bora's People

Contributors

riflockle7 avatar moonyeeun avatar wisdompark96 avatar dlthgud avatar

Watchers

James Cloos 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.