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

์˜ค๋ธ”์™„

(3)
[Android][View] getWidth(), getHeight() ์™€ measureWidth(), measuredHeight() ์ถœ์ฒ˜https://yongheon.tistory.com/entry/Android-getMeasuredHeight-%EC%99%80-getHeight [Android] getMeasuredHeight ์™€ getHeightAndroid์˜ View ํด๋ž˜์Šค์™€ View ํด๋ž˜์Šค๋ฅผ ์ƒ์† ๋ฐ›๋Š” ๋ชจ๋“  ํด๋ž˜์Šค๋Š” ํ™”๋ฉด์— ๋ณด์—ฌ์ง€๊ธฐ ์œ„ํ•ด์„œ๋Š” ํฌ๊ฒŒ ๋‘ ๋‹จ๊ณ„๋ฅผ ์ˆœ์„œ๋Œ€๋กœ ๊ฑฐ์น˜๊ฒŒ ๋œ๋‹ค. 1. Measuring: View์˜ ํฌ๊ธฐ๋ฅผ ๊ณ„์‚ฐ. Width์™€ height ๊ฐ’์„ ๊ตฌํ•œ๋‹ค. 2. Layouting:yongheon.tistory.comhttps://stackoverflow.com/a/8664581 What is the difference between getWidth/Height() and getMeasuredWidth/Height()..
[Kotlin] ๋žŒ๋‹ค๋Š” ์ž๋ฐ”๋กœ ์–ด๋–ป๊ฒŒ ์ปดํŒŒ์ผ๋ ๊นŒ 1. ๋ฐ›๋Š” ์ธ์ˆ˜๊ฐ€ ์—†๊ณ , ๋ฐ˜ํ™˜ ํƒ€์ž…์ด ์—†๋Š” ๋žŒ๋‹ค์ฝ”ํ‹€๋ฆฐ ์ฝ”๋“œfun runLambda(lambda: () -> Unit) { lambda()}fun main() { runLambda { println("HelloWord") }}// ์ถœ๋ ฅ ๊ฒฐ๊ณผ : HelloWord ์ž๋ฐ” ๋ณ€ํ™˜public final class MainKt { public static final void main() { runLambda((Function0)null.INSTANCE); } // $FF: synthetic method public static void main(String[] var0) { main(); } public static final void runLambda(@NotNul..
[๋ฉด์ ‘] ์•ˆ๋“œ๋กœ์ด๋“œ ๊ฐœ๋ฐœ์ž ์˜์–ด ๋ฉด์ ‘ ์‹œ ์ž์ฃผ ์“ฐ์ผ ์ˆ˜ ์žˆ๋Š” ์˜๋‹จ์–ด ์ถœ์ฒ˜ChatGPT๋‚˜๊ธฐ์ˆ  ๊ด€๋ จ ์šฉ์–ดLifecycle - ์•ฑ ์ปดํฌ๋„ŒํŠธ์˜ ์ƒ๋ช…์ฃผ๊ธฐ ๊ด€๋ฆฌ, ์•กํ‹ฐ๋น„ํ‹ฐ/ํ”„๋ž˜๊ทธ๋จผํŠธ ์ƒ๋ช…์ฃผ๊ธฐ ๊ด€๋ จ ์งˆ๋ฌธ์—์„œ ์‚ฌ์šฉ"Understanding the lifecycle of activities and fragments is essential for managing Android app resources effectively."Architecture - ์•ฑ์˜ ๊ตฌ์กฐ๋‚˜ ํŒจํ„ด์„ ์„ค๋ช…ํ•  ๋•Œ (์˜ˆ: MVVM, MVI)"Our team implemented Clean Architecture to make the codebase modular and easily testable."Clean Architecture follows SOLID principles, which reduce coupling, im..