/DroidKnights2021_App

https://droidknights.github.io/2021/

Primary LanguageKotlin

๐Ÿšง๐Ÿšง๐Ÿšง ๐Ÿ‘ฉโ€๐Ÿ’ป๐Ÿ‘จโ€๐Ÿ’ป DroidKnights2021 App ๐Ÿ‘จโ€๐Ÿ’ป๐Ÿ‘ฉโ€๐Ÿ’ป ๐Ÿšง๐Ÿšง๐Ÿšง

๋“œ๋กœ์ด๋“œ๋‚˜์ด์ธ ๋Š” ๊ธฐ์ˆ  ์„ธ์…˜์œผ๋กœ ๊ฐœ๋ฐœ์ž๋“ค์˜ ๊ฒฝํ—˜์„ ๊ณต์œ ํ•˜๋Š” ์•ˆ๋“œ๋กœ์ด๋“œ ์ปจํผ๋Ÿฐ์Šค ์ž…๋‹ˆ๋‹ค.

Guide

Contributions Welcome!

๋“œ๋กœ์ด๋“œ๋‚˜์ด์ธ  ํ–‰์‚ฌ ์ •๋ณด๋ฅผ ๋ณผ ์ˆ˜ ์žˆ๋Š” ์•ฑ์„ ๊ฐœ๋ฐœํ•˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค. ์—ฌ๋Ÿฌ๋ถ„๋“ค์˜ ์ฐธ์—ฌ๋กœ ํ•จ๊ป˜ ๋งŒ๋“ค์–ด ๋‚˜๊ฐ€๊ธธ ๊ธฐ๋Œ€ํ•ฉ๋‹ˆ๋‹ค!

์ž์„ธํ•œ ๋‚ด์šฉ์€ CONTRIBUTING.md ๋ฅผ ์ฐธ๊ณ ํ•ด์ฃผ์„ธ์š”.

Development

Required

  • IDE : Android Studio Arctic Fox
  • JDK : Java 11์„ ์‹คํ–‰ํ•  ์ˆ˜ ์žˆ๋Š” JDK
    • (๊ถŒ์žฅ) Android Studio ์„ค์น˜์‹œ Embeded๋œ JDK (Open JDK)
    • Java 11์„ ์‚ฌ์šฉํ•˜๋Š” JDK (Open JDK, AdoptOpenJDK, GraalVM)
  • Kotlin Language : 1.5.10

Laguage

  • Kotlin

Libraries

  • AndroidX
    • Activity & Activity Compose
    • AppCompat
    • Core
    • ConstraintLayout
    • Fragment
    • Lifecycle & ViewModel Compose
    • Navigation
    • RecyclerView
  • Google Android Material
  • Kotlin Libraries (Coroutine, DateTime, Serialization)
  • Compose (1.0.0 or higher)
  • Coil & Coil-compose
  • Dagger & Hilt
  • Accompanist (FlowLayout, Pager)
  • Square (Retrofit, OkHttp)
  • Timber

Architecture

Layer

๋ณธ ํ”„๋กœ์ ํŠธ๋Š” Layered Architecture ํ˜•ํƒœ๋กœ ์„ค๊ณ„๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค. ํ˜„์žฌ Presentation/Domain/Data ๋ ˆ์ด์–ด ๊ตฌ์กฐ๋ฅผ ๋„๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค.

Module

๋ณธ ํ”„๋กœ์ ํŠธ๋Š” Multi-module ๊ตฌ์กฐ์ด๋ฉฐ ๊ฐ Feature๋งˆ๋‹ค ๋ชจ๋“ˆ ํ˜•ํƒœ๋กœ ๊ตฌ์„ฑ๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค.

DI Graph

DI Graph (Layer)

Thanks

์ฐธ์—ฌํ•ด์ฃผ์‹  ๋ชจ๋“  ๋ถ„๋“ค ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค!

Trouble Shooting

Android Studio Arctic fox์—์„œ JDK 11์ด ํ•„์š”ํ•จ

Arctic fox๋ถ€ํ„ฐ ์‚ฌ์šฉ๋˜๋Š” AGP 7.0์€ JDK 11์ด ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค. ํ˜„์žฌ JDK๊ฐ€ Java 11์„ ์‚ฌ์šฉ ์ค‘์ธ์ง€ ํ™•์ธํ•ด์ฃผ์„ธ์š”.

Android Studio Arctic fox์—์„œ ์˜์–ด ์ด์™ธ์˜ ์–ธ์–ด๊ฐ€ ๊นจ์ ธ์„œ ๋…ธ์ถœ๋จ

Android Studio IDE์˜ ์ผ๋ถ€ ๋ฉ”๋‰ด(Git ํƒญ, Preference ๋“ฑ)์—์„œ๋Š” ์˜์–ด ์ด์™ธ์˜ ์–ธ์–ด๊ฐ€ ํฐํŠธ๊ฐ€ ๊นจ์ง„ ์ƒํƒœ๋กœ ๋ Œ๋”๋ง๋˜๋Š” ํ˜„์ƒ์ด ์žˆ์Šต๋‹ˆ๋‹ค. (tofu-ing)

  • ํ•ด๊ฒฐ๋ฒ• : Preferences | Appearance & Behavior | Appearance์—์„œ Use custom font๋ฅผ ์ฒดํฌํ•œ ํ›„ ๋ณ„๋„ ํฐํŠธ๋ฅผ ์„ ํƒ