LifetimeScope
๊ฐ๋
VContainer ํน์ ์ ๋จ์์ ๋๋ค.
1ํ๋ฉด์ ๋ํด ํ๋๋ง ์์ฑํฉ๋๋ค. (์์ธ ์์)
์ฉ๋
ํ๋ฉด์์์์ ํด๋์ค ์์กด๊ด๊ณ๋ฅผ ์ง์ ํฉ๋๋ค.
View๋ฅผ Presenter(Lifecycle)์ ๊ฑด๋ด์ค๋๋ค.
๊ตฌํ๋ฐฉ๋ฒ
LifetimeScope ํน์, LifetimeScopeWithParameter๋ฅผ ์์๋ฐ์ ๊ตฌํํฉ๋๋ค.
SerializeField ๋ฅผ ํตํด pageView๋ฅผ ๋ฐ์์ ์ฌ์ฉํฉ๋๋ค.
ํต์ ๋ฑ์ Mock ์ ๋ณด๋ํ ์ถ๊ฐํฉ๋๋ค.
์์ ์ฝ๋
Last updated