๋ถ๋ฅ ์ ์ฒด๋ณด๊ธฐ (387) ์ธ๋ค์ผํ ๋ฆฌ์คํธํ [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.. [Kotlin] init ๋ธ๋ก ์ถ์ฒhttps://kotlinlang.org/docs/classes.html#constructors Classes | Kotlin kotlinlang.orghttps://kotlinlang.org/docs/inheritance.html#derived-class-initialization-order Inheritance | Kotlin kotlinlang.org ํด๋์ค์ ์ด๊ธฐํ๊ธฐ๋ณธ ์์ฑ์๋ ํด๋์ค ํค๋(ํด๋์ค์ ์ด๋ฆ๊ณผ ์ฃผ์์ฑ์)์์ ํด๋์ค ์ธ์คํด์ค์ ํด๋น ์์ฑ์ ์ด๊ธฐํํ๋ค. ๊ฐ์ฒด ์์ฑ ์ค์ ์ฝ๋๋ฅผ ์คํํ๋ ค๋ฉด ํด๋์ค ๋ณธ๋ฌธ ๋ด๋ถ์ ์ด๊ธฐํ ๋ธ๋ก์ ์ฌ์ฉํ๋ค. ์ด๊ธฐํ ๋ธ๋ก์ init ํค์๋ ๋ค์ ์ค๊ดํธ๋ฅผ ๋ถ์ฌ ์ ์ธํ๋ค. ์คํํ๋ ค๋ ์ฝ๋๋ ์ค๊ดํธ ์์ ์์ฑํ๋ค. ์ธ์คํด์ค๋ฅผ ์ด๊ธฐํ ์ค์ ์ด๊ธฐํ ๋ธ๋ก๊ณผ ์์ฑ ์ด๊ธฐํ๋ .. [JVM] invokedynamic ์ดํดํ๊ธฐ ์ถ์ฒhttps://stackoverflow.com/a/62354389 What is a bootstrap method?I have been reading this presentation about java8 lambdas implementation http://fr.slideshare.net/czechscala/java-8-under-the-hood LambdaMetaFactory contains bootstrap methods for converting la...stackoverflow.comhttps://blogs.oracle.com/javamagazine/post/understanding-java-method-invocation-with-invokedynamichttps://docs.deisterc.. [Kotlin] interface ์ default method๋ฅผ ์๋ฐ๋ก ๋ณํํ๊ธฐ ์ถ์ฒhttps://kotlinlang.org/docs/java-to-kotlin-interop.html#default-methods-in-interfaces Calling Kotlin from Java | Kotlin kotlinlang.orghttps://blog.jetbrains.com/kotlin/2020/07/kotlin-1-4-m3-generating-default-methods-in-interfaces/ Kotlin 1.4-M3: Generating Default Methods in Interfaces | The Kotlin BlogIn Kotlin 1.4, we’re adding new experimental ways for generating default methods in interfa.. [Kotlin] const val ์ถ์ฒhttps://thinking-face.tistory.com/185 [Kotlin] const, val, varKotlin์์ ``const``๋ ์ปดํ์ผ ์๊ฐ์ ๊ฒฐ์ ๋๋ค๋ ์๋ฏธ๋ฅผ ๊ฐ๊ณ ์๋ค. ํ๋ก๊ทธ๋จ์ด ์คํ๋๋ ๋ฐํ์ ์ด์ ์ ์ด๋ฏธ ๊ฒฐ์ ๋์ด ๋ณํ์ง ์๋๋ค๋ ๊ฒ์ด๋ค. ๊ทธ๋์ ``const val``์ ์ปดํ์ผ ์๊ฐ์ ๊ฒฐ์ ๋๋ ์์thinking-face.tistory.comhttps://kotlinlang.org/docs/properties.html#compile-time-constants Properties | Kotlin kotlinlang.orghttps://stackoverflow.com/questions/37595936/what-is-the-difference-between-const-and-va.. [Kotlin] @JvmOverloads - ๋ํดํธ ํ๋ผ๋ฏธํฐ๋ฅผ ์๋ฐ์์๋ ์ด์ฉํ๊ธฐ ์ถ์ฒhttps://kotlinlang.org/docs/java-to-kotlin-interop.html#overloads-generation Calling Kotlin from Java | Kotlin kotlinlang.orghttps://kotlinlang.org/api/latest/jvm/stdlib/kotlin.jvm/-jvm-overloads/ JvmOverloads - Kotlin Programming Language kotlinlang.org ์ฝํ๋ฆฐ์ ๋ํดํธ ํ๋ผ๋ฏธํฐ๋ ์๋ฐ๋ก ์ปดํ์ผ๋๋ฉด ์ฌ์ฉํ ์ ์๋ค. ์๋ฐ์์๋ ์ผ์ผ์ด ๋ชจ๋ ํ๋ผ๋ฏธํฐ๋ค์ ๊ธฐ์ ํด์ผ ํ๋ค.@JvmOverlaods๋ฅผ ์ฌ์ฉํ๋ฉด ๋ํดํธ ํ๋ผ๋ฏธํฐ๊ฐ ์ค๋ฅธ์ชฝ๋ถํฐ ํ๋์ฉ ์ค์ด๋๋ ์ค๋ฒ๋ก๋๋ ํจ์๋ค์ ์์ฑํ๋ค. ์์ฑ์, ์คํ ํฑ ๋ฉ์๋ ๋ฑ์๋.. ์ด์ 1 2 3 4 5 6 ยทยทยท 49 ๋ค์