PaeParo / PaeParo-Mobile

This repository contains the mobile application codebase for the PaeParo project.
0 stars 1 forks source link

๐Ÿšง ํŒจํ‚ค์ง€ ๊ตฌ์กฐ ๋ณ€๊ฒฝ ์˜ˆ์ • #6

Closed seo0jjjjj closed 1 year ago

seo0jjjjj commented 1 year ago

๐Ÿšง ์ž‘์„ฑ์ค‘...

๐Ÿ“– TODO

  1. ๊ธฐ์กด ํ”„๋กœ์ ํŠธ ๊ตฌ์กฐ ์žฌ์ •๋ฆฌ, (Activity, View๋ณ„ id, ๊ณตํ†ต์œผ๋กœ ์ƒ์„ฑํ•ด์•ผํ•  View์ •๋ฆฌ)
  2. ์„ธ๋ถ„ํ™”ํ•  ํ•ญ๋ชฉ์ •๋ฆฌ
    • Model๋ฅผ View๋ณ„๋กœ ๋ถ„๋ฆฌํ• ๊ฒƒ์ธ์ง€?
    • Presenter๋ฅผ ์‚ฌ์šฉํ•  ๊ฒƒ์ธ์ง€ (MVPํŒจํ„ด ๊ณต๋ถ€ํ›„ ๋‹ค์‹œ ์ •๋ฆฌํ• ๋“ฏ)

ํ˜„์žฌ ํ”„๋กœ์ ํŠธ ๊ตฌ์กฐ

project

ํ˜„์žฌ ํŒจํ‚ค์ง€ ๊ตฌ์กฐ๋Š” ๊ตฌ์กฐ์ž์ฒด๋Š” ๊น”๋”ํ•˜๋‚˜ ํŒŒ์ผ์˜ ์–‘์ด ์ ์  ๋งŽ์•„์ง€๋ฉด์„œ fragment, activity์— ์—‘ํ‹ฐ๋น„ํ‹ฐ์™€ ํ”„๋ ˆ๊ทธ๋จผํŠธ๊ฐ€ ๋ชจ์—ฌ์žˆ์–ด์„œ ํŒŒ์ผ์— ์–‘์ด ๋งŽ์•„ ์ ์  ๊ด€๋ฆฌํ•˜๊ธฐ ์–ด๋ ค์›Œ์ง€๊ณ  ์žˆ์Œ.

๋ฐ”๋€” ํŒจํ‚ค์ง€ ๊ตฌ์กฐ

ps_after

๋ฌธ์ œ๋Š” ์„ธ๋ถ„ํ™”๋ฅผ

  1. ๋‹จ์ˆœํžˆ Activity๋‚˜ Fragment์˜ ViewํŒŒ์ผ ์„ธ๋ถ„ํ™”ํ• ๊ฑด์ง€ (์˜ˆ๋ฅผ ๋“ค์–ด MainActivity.kt)

image

์ฐธ๊ณ ์ž๋ฃŒ :

MVC, MVP, MVVM https://velog.io/@ows3090/Android-MVC-MVP-MVVM-%EC%9E%A5%EB%8B%A8%EC%A0%90%EC%9D%84-%EC%95%8C%EA%B3%A0-%EC%93%B0%EC%9E%90

ํŒจํ‚ค์ง€ MVVP ๊ตฌ์กฐ https://velog.io/@tlsgks48/%EC%95%88%EB%93%9C%EB%A1%9C%EC%9D%B4%EB%93%9C-%ED%8C%A8%ED%82%A4%EC%A7%80-%EC%9D%B4%EB%A6%84%EA%B3%BC-%ED%8F%B4%EB%8D%94-%EA%B5%AC%EC%A1%B0-%EA%B4%80%EB%A6%AC