Skip to content

dalla-live/dalla_android

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 

Repository files navigation

🧾 달라 μ•ˆλ“œλ‘œμ΄λ“œ 개발 κ·œμΉ™

🎨 μ•„ν‚€ν…μ²˜ νŒ¨ν„΄ 및 λ””μžμΈ νŒ¨ν„΄

  • λ³Έ ν”„λ‘œμ νŠΈλŠ” MVVM μ•„ν‚€ν…μ²˜μ™€ Layer μ•„ν‚€ν…μ²˜λ‘œ κ΅¬μ„±λ˜μ–΄μžˆμŠ΅λ‹ˆλ‹€.
  • REST-Ful API 호좜 κ²°κ³ΌλŠ” κ³΅ν†΅μ μœΌλ‘œ sealed 클래슀λ₯Ό ν™œμš©ν•œ State νŒ¨ν„΄ 및 UseCase νŒ¨ν„΄μ„ μ‚¬μš©ν•©λ‹ˆλ‹€.

πŸ‘¨β€πŸ’» μ½”λ“œ κ·œμΉ™

  • 🧹 μ‚¬μš©ν•˜μ§€ μ•ŠλŠ” importλŠ” μ§€μ›Œμ£Όμ„Έμš”!
    • Ctrl + Alt + O λˆ„λ₯΄λ©΄ μžλ™ μ •λ¦¬λ©λ‹ˆλ‹€.
  • πŸ“› λ³€μˆ˜μ˜ 넀이밍은 λͺ…ν™•ν•˜κ²Œ μ μ–΄μ£Όμ„Έμš”!
  • πŸ“ƒ 본인이 μž‘μ„±ν•œ 클래슀 μœ„μ— 주석(doc)을 λ‹¬μ•„μ£Όμ„Έμš”!
  • πŸ™… 데이터 바인딩 μ‚¬μš©μ„ μ§€μ–‘ν•΄μ£Όμ„Έμš”.
  • 🐫 xml의 idλŠ” camelCase둜 μž‘μ„±ν•΄μ£Όμ„Έμš”!
    • View(A&F) κ³„μΈ΅μ—μ„œ ViewBinding으둜 μ‚¬μš©ν• λ•Œ snake_case보닀 μ½”λ“œ 좔적이 λͺ‡λ°°λŠ” μ’‹μŠ΅λ‹ˆλ‹€.
  • πŸͺ data class의 ν”„λ‘œνΌν‹°λŠ” camelCase둜 μž‘μ„±ν•΄μ£Όμ„Έμš”!
    • μ„œλ²„μ—μ„œ snake_case둜 λ³΄λ‚Όκ²½μš° μ•„λž˜μ™€ 같이 ν•΄κ²°ν•΄μ£Όμ„Έμš”.
      •   data class MainPageData(
              @SerializedName("center_banner")
              val eventBanner: List<EventBannerData>
          )
        
  • πŸ” A&F(μ•‘ν‹°λΉ„ν‹°/ν”„λž˜κ·Έλ¨ΌνŠΈ)μ—μ„œ LiveData 및 StateFlowλ₯Ό κ΄€μ°°ν•˜λŠ” ν•¨μˆ˜λŠ” observe{PublisherName}(), collect{PublisherName}() 와 같은 ν˜•μ‹μœΌλ‘œ μž‘μ„±ν•΄μ£Όμ„Έμš”.
    • observeViewModel() : λ·° λͺ¨λΈμ˜ LiveDataλ₯Ό κ΄€μ°°
    • collectViewModel() : λ·° λͺ¨λΈμ˜ StateFlowλ₯Ό μˆ˜μ§‘
    • collectEvent() : 이벀트 λ²„μŠ€μ˜ StateFlow μˆ˜μ§‘
    • collectLiveManager() : 방솑방 λ§€λ‹ˆμ €μ˜ StateFlow μˆ˜μ§‘
    • μ ‘κ·Ό μ œν•œμžλŠ” ν•„μˆ˜λ‘œ μž‘μ„±ν•΄μ£Όμ„Έμš”.(public 은 μ•ˆν•΄μ€˜λ„ λ©λ‹ˆλ‹€.)

πŸ“¦ 배포 κ·œμΉ™

  • πŸͺ μ•± 버전은 Release.Major.Minor 둜 μ†Œκ·œλͺ¨ μ—…λ°μ΄νŠΈλŠ” Minor, 쀑-λŒ€κ·œλͺ¨ μ—…λ°μ΄νŠΈλŠ” Major 버전을 κ·Έ μ™Έ, Release λŠ” λ§ˆμΌ“μ— 따라 변경될 수 μžˆμŠ΅λ‹ˆλ‹€.
    • PlayStore 1.x.x
    • OneStore 2.x.x
  • ⏳ μ‹¬μ‚¬μ œμΆœμ€ 항상 μ΅œμ‹  origin & develop λΈŒλžœμΉ˜μž…λ‹ˆλ‹€.
  • πŸ₯³ 심사가 μ™„λ£Œλμ„λ•Œ, 앱을 μΆœμ‹œν•œ 후에 origin & master 버전을 ν‘Έμ‹œν•΄μ£Όμ„Έμš”.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published