๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ

๋ถ„๋ฅ˜ ์ „์ฒด๋ณด๊ธฐ

(79)
Overloading / Overriding Overloading ์˜๋ฏธ ๊ณผ์ ํ•˜๋‹ค, ๊ณผ๋ถ€ํ•˜๋ผ๋Š” overload์˜ ๋œป์—์„œ ์œ ์ถ”ํ•ด๋ณด๋ฉด ๋ฌด์–ธ๊ฐ€๋ฅผ ๋” ์‹ฃ๋Š”, ์–น๋Š” ๊ทธ๋ฆผ์ด ๊ทธ๋ ค์ง„๋‹ค. ๋น„์Šทํ•˜๊ฒŒ ์˜ค๋ฒ„๋กœ๋”ฉ๋„ ํ•œ ํด๋ž˜์Šค ๋‚ด์— ๊ฐ™์€ ์ด๋ฆ„์˜ ๋ฉ”์„œ๋“œ๋ฅผ ์—ฌ๋Ÿฌ ๊ฐœ ์ •์˜ํ•˜๋Š” ๊ฒƒ์„ ์˜๋ฏธํ•œ๋‹ค. ๋ฉ”์„œ๋“œ๋“ค์ด ๋ชจ๋‘ ๊ฐ™์€ ์ผ์„ ํ•˜์ง€๋งŒ ๋งค๊ฐœ๋ณ€์ˆ˜๋ฅผ ๋‹ฌ๋ฆฌํ•ด์•ผํ•˜๋Š” ๊ฒฝ์šฐ ๋ฉ”์„œ๋“œ ์ด๋ฆ„์€ ๊ฐ™๊ณ  ๋งค๊ฐœ๋ณ€์ˆ˜๋ฅผ ๋‹ค๋ฅด๊ฒŒ ํ•˜์—ฌ ์˜ค๋ฒ„๋กœ๋”ฉ์„ ๊ตฌํ˜„ํ•œ๋‹ค. ์กฐ๊ฑด ์˜ค๋ฒ„๋กœ๋”ฉ์ด ์„ฑ๋ฆฝํ•˜๊ธฐ ์œ„ํ•œ ์กฐ๊ฑด์€ ์•„๋ž˜์™€ ๊ฐ™๋‹ค. ๋ฉ”์„œ๋“œ ์ด๋ฆ„์ด ๊ฐ™์•„์•ผ ํ•œ๋‹ค. ๋งค๊ฐœ๋ณ€์ˆ˜์˜ ๊ฐœ์ˆ˜ ๋˜๋Š” ํƒ€์ž…์ด ๋‹ฌ๋ผ์•ผ ํ•œ๋‹ค. ๋งค๊ฐœ๋ณ€์ˆ˜๋Š” ๊ฐ™๊ณ  ๋ฆฌํ„ดํƒ€์ž…์ด ๋‹ค๋ฅธ ๊ฒฝ์šฐ๋Š” ์˜ค๋ฒ„๋กœ๋”ฉ์ด ์„ฑ๋ฆฝ๋˜์ง€ ์•Š๋Š”๋‹ค. (๋ฆฌํ„ดํƒ€์ž…์€ ์˜ค๋ฒ„๋กœ๋”ฉ์„ ๊ตฌํ˜„ํ•˜๋Š”๋ฐ ์•„๋ฌด๋Ÿฐ ์˜ํ–ฅ์„ ์ฃผ์ง€ ๋ชปํ•œ๋‹ค.) ์œ„์˜ ์กฐ๊ฑด๋“ค์„ ๋งŒ์กฑ์‹œํ‚ค์ง€ ๋ชปํ•˜๋ฉด ์˜ค๋ฒ„๋กœ๋”ฉ์ด ์•„๋‹Œ ์ค‘๋ณต์ •์˜๋œ ๊ฒƒ์œผ๋กœ ๊ฐ„์ฃผ๋˜์–ด ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ•œ๋‹ค. ์˜ˆ์‹œ int add..
Lesson 6: App Architecture (Persistence) 4. Designing Entities Entity: Object or concept to store in the database. Entity class defines a table, each instance is stored as a table row. Query: Request for data or information from a database table or tables, or a request to perform some action on the table. dataclass๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ํ…Œ์ด๋ธ”์„ ์ •์˜. annotation์„ ์‚ฌ์šฉํ•˜์—ฌ์„œ ์–ด๋Š property๊ฐ€ primary key์ธ์ง€ ๋“ฑ์„ ๋‚˜ํƒ€๋‚ธ๋‹ค. interface๋ฅผ ์ƒ์„ฑํ•˜์—ฌ Database์™€ ์–ด๋–ป๊ฒŒ interactํ•  ๊ฒƒ์ธ์ง€๋ฅผ ์ •์˜ํ•œ๋‹ค. Ro..
Lesson 5: App Architecture(UI Layer) 5. What is Architecture Application Architecture๋ž€ ์•ฑ์˜ ํด๋ž˜์Šค๋“ค์— ๋Œ€ํ•œ ๋””์ž์ธ๊ณผ ๊ทธ๋“ค ์‚ฌ์ด์˜ ๊ด€๊ณ„. ์•ฑ์„ ๊ตฌ์„ฑํ•˜๋Š”๋ฐ ํ•œ ๊ฐ€์ง€ ๋ฐฉ๋ฒ•๋งŒ ์žˆ๋Š” ๊ฒƒ์€ ์•„๋‹ˆ๋‹ค. ์ง‘์„ ์„ค๊ณ„ํ•˜๋Š” ๊ฒƒ์€ ์ƒํ™ฉ, ํ•„์š”, ์ทจํ–ฅ ๋“ฑ์— ๊ฐ•ํ•œ ์˜์กด์„ฑ์„ ๋ˆ๋‹ค. ์ด์™€ ๋งˆ์ฐฌ๊ฐ€์ง€๋กœ ์•ˆ๋“œ๋กœ์ด๋“œ ์•ฑ๋„ ๋‹ค์–‘ํ•œ ์„ค๊ณ„ ์Šคํƒ€์ผ์ด ์žˆ๋‹ค. ๋˜ ๊ฐ ๋ฐฉ์‹์€ ์žฅ๋‹จ์ ์ด ์žˆ๋‹ค. ์„œ๋กœ๊ฐ€ ๊ณตํ†ต์ ์„ ๊ฐ–๊ธฐ๋„ ํ•œ๋‹ค. ๊ฐ๊ธฐ ๋‹ค๋ฅธ ์•ฑ์˜ ํ•„์š”๋‚˜ ํŒ€์˜ ํฌ๊ธฐ, ํŒ€์˜ ์„ฑํ–ฅ ๋“ฑ์— ๋”ฐ๋ผ ์ ํ•ฉํ•œ ์Šคํƒ€์ผ์ด ๋‹ค๋ฅผ ์ˆ˜ ์žˆ๋‹ค. ์ด๋ฒˆ lesson์—์„œ๋Š” a single multipurpose architectural pattern์„ ์‚ฌ์šฉํ•˜๋Š”๋ฐ MVVM๊ณผ ๋น„์Šทํ•˜๋‹ค. 6. Our App Architecture Software design principle - Separati..
๊ณต๋ถ€ ์ฃผ์ œ ๋ณดํ˜ธ๋˜์–ด ์žˆ๋Š” ๊ธ€์ž…๋‹ˆ๋‹ค.
Lesson 4: Activity & Fragment Lifecycle Udacity ์—์„œ Developing Android Apps with Kotlin ์ด๋ผ๋Š” ๊ฐ•์˜๋ฅผ ๋“ฃ๊ณ  lesson ๋ณ„๋กœ ์ค‘์š”ํ•˜๋‹ค๊ณ  ์ƒ๊ฐํ•œ ๋ถ€๋ถ„์„ ํ•„๊ธฐํ•œ ๋‚ด์šฉ์ด๋‹ค. ์˜์–ด ๊ฐ•์˜๋ฅผ ๋“ฃ๊ณ  ํ•„๊ธฐํ•œ ๋‚ด์šฉ์ด๋‹ค ๋ณด๋‹ˆ ๋ฒˆ์—ญ์ด๋‚˜ ํ•ด์„์ด ์ž˜๋ชป๋œ ๋ถ€๋ถ„์ด ์žˆ์„ ์ˆ˜ ์žˆ๋‹ค. ๋˜ ์ผ๋ถ€๋Š” ์˜์–ด ๋‹จ์–ด๋‚˜ ๋ฌธ์žฅ์„ ๊ทธ๋Œ€๋กœ ์ ์–ด๋†“์•˜๋‹ค. ์ •ํ™•ํ•œ ๋‚ด์šฉ์€ ๊ฐ•์˜๋ฅผ ์ง์ ‘ ์ฐธ๊ณ ํ•˜๋Š” ๊ฒƒ์„ ๊ถŒํ•œ๋‹ค. Developing Android Apps with Kotlin | Udacity Free Courses Take Udacity's free online course and learn Android development with Kotlin. Master the fundamentals of the Kotlin programming language taught ..
Lesson 3: App Navigation Udacity ์—์„œ Developing Android Apps with Kotlin ์ด๋ผ๋Š” ๊ฐ•์˜๋ฅผ ๋“ฃ๊ณ  lesson ๋ณ„๋กœ ์ค‘์š”ํ•˜๋‹ค๊ณ  ์ƒ๊ฐํ•œ ๋ถ€๋ถ„์„ ํ•„๊ธฐํ•œ ๋‚ด์šฉ์ด๋‹ค. ์˜์–ด ๊ฐ•์˜๋ฅผ ๋“ฃ๊ณ  ํ•„๊ธฐํ•œ ๋‚ด์šฉ์ด๋‹ค ๋ณด๋‹ˆ ๋ฒˆ์—ญ์ด๋‚˜ ํ•ด์„์ด ์ž˜๋ชป๋œ ๋ถ€๋ถ„์ด ์žˆ์„ ์ˆ˜ ์žˆ๋‹ค. ๋˜ ์ผ๋ถ€๋Š” ์˜์–ด ๋‹จ์–ด๋‚˜ ๋ฌธ์žฅ์„ ๊ทธ๋Œ€๋กœ ์ ์–ด๋†“์•˜๋‹ค. ์ •ํ™•ํ•œ ๋‚ด์šฉ์€ ๊ฐ•์˜๋ฅผ ์ง์ ‘ ์ฐธ๊ณ ํ•˜๋Š” ๊ฒƒ์„ ๊ถŒํ•œ๋‹ค. Developing Android Apps with Kotlin | Udacity Free Courses Take Udacity's free online course and learn Android development with Kotlin. Master the fundamentals of the Kotlin programming language taught ..
Lesson 2: Layouts Udacity ์—์„œ Developing Android Apps with Kotlin ์ด๋ผ๋Š” ๊ฐ•์˜๋ฅผ ๋“ฃ๊ณ  lesson ๋ณ„๋กœ ์ค‘์š”ํ•˜๋‹ค๊ณ  ์ƒ๊ฐํ•œ ๋ถ€๋ถ„์„ ํ•„๊ธฐํ•œ ๋‚ด์šฉ์ด๋‹ค. ์˜์–ด ๊ฐ•์˜๋ฅผ ๋“ฃ๊ณ  ํ•„๊ธฐํ•œ ๋‚ด์šฉ์ด๋‹ค ๋ณด๋‹ˆ ๋ฒˆ์—ญ์ด๋‚˜ ํ•ด์„์ด ์ž˜๋ชป๋œ ๋ถ€๋ถ„์ด ์žˆ์„ ์ˆ˜ ์žˆ๋‹ค. ๋˜ ์ผ๋ถ€๋Š” ์˜์–ด ๋‹จ์–ด๋‚˜ ๋ฌธ์žฅ์„ ๊ทธ๋Œ€๋กœ ์ ์–ด๋†“์•˜๋‹ค. ์ •ํ™•ํ•œ ๋‚ด์šฉ์€ ๊ฐ•์˜๋ฅผ ์ง์ ‘ ์ฐธ๊ณ ํ•˜๋Š” ๊ฒƒ์„ ๊ถŒํ•œ๋‹ค. Developing Android Apps with Kotlin | Udacity Free Courses Take Udacity's free online course and learn Android development with Kotlin. Master the fundamentals of the Kotlin programming language taught ..
Lesson 1: Build your First App Udacity์—์„œ Developing Android Apps with Kotlin ์ด๋ผ๋Š” ๊ฐ•์˜๋ฅผ ๋“ฃ๊ณ  lesson ๋ณ„๋กœ ์ค‘์š”ํ•˜๋‹ค๊ณ  ์ƒ๊ฐํ•œ ๋ถ€๋ถ„์„ ํ•„๊ธฐํ•œ ๋‚ด์šฉ์ด๋‹ค. ์˜์–ด ๊ฐ•์˜๋ฅผ ๋“ฃ๊ณ  ํ•„๊ธฐํ•œ ๋‚ด์šฉ์ด๋‹ค๋ณด๋‹ˆ ๋ฒˆ์—ญ์ด๋‚˜ ํ•ด์„์ด ์ž˜๋ชป๋œ ๋ถ€๋ถ„์ด ์žˆ์„ ์ˆ˜ ์žˆ๋‹ค. ๋˜ ์ผ๋ถ€๋Š” ์˜์–ด ๋‹จ์–ด๋‚˜ ๋ฌธ์žฅ์„ ๊ทธ๋Œ€๋กœ ์ ์–ด๋†“์•˜๋‹ค. ์ •ํ™•ํ•œ ๋‚ด์šฉ์€ ๊ฐ•์˜๋ฅผ ์ง์ ‘ ์ฐธ๊ณ ํ•˜๋Š” ๊ฒƒ์„ ๊ถŒํ•œ๋‹ค. Developing Android Apps with Kotlin | Udacity Free Courses Take Udacity's free online course and learn Android development with Kotlin. Master the fundamentals of the Kotlin programming language taught by..