본문 바로가기

코틀린15

4. 람다로 프로그래밍 Kotlin IN ACTION 책을 공부하면서 정리한 내용입니다. http://www.acornpub.co.kr/book/kotlin-in-action Kotlin in Action 이 책은 코틀린 언어를 개발한 젯브레인의 코틀린 컴파일러 개발자들이 직접 쓴 일종의 공식 서적이라 할 수 있다. www.acornpub.co.kr 람다는 기본적으로 다른 함수에 넘길 수 있는 작은 코드 조각을 뜻한다. 1. 람다 식과 멤버 참조 1.1. 람다 소개: 코드 블록을 함수 인자로 넘기기 함수형 프로그래밍에서는 함수를 값처럼 다루는 접근 방법을 택한다. 함수형 언어에서는 함수를 직접 다른 함수에 전달할 수 있다. 람다식을 사용하면 코드가 더 간결해진다. 람다식을 사용하면 함수를 선언할 필요가 없고 코드 블록을 직접 .. 2021. 6. 17.
06-1. Room Database Android Kotlin Fundamentals는 codelab에 올라와있는 강의를 한글로 번역한 내용입니다. Codelabs for Android Kotlin Fundamentals | Training Courses Content and code samples on this page are subject to the licenses described in the Content License. Java is a registered trademark of Oracle and/or its affiliates. Last updated 2020-09-14 UTC. developer.android.com 코드는 github를 참고해주세요. 06-1. Room Database Room은 Android Jetpac.. 2021. 2. 21.
05-4. LiveData Transformations Android Kotlin Fundamentals는 codelab에 올라와있는 강의를 한글로 번역한 내용입니다. Codelabs for Android Kotlin Fundamentals | Training Courses Content and code samples on this page are subject to the licenses described in the Content License. Java is a registered trademark of Oracle and/or its affiliates. Last updated 2020-09-14 UTC. developer.android.com 코드는 github를 참고해주세요 05-4. LiveData Transformations 1. Add a T.. 2021. 2. 21.
05-3. Databinding with ViewModel and LiveData Android Kotlin Fundamentals는 codelab에 올라와있는 강의를 한글로 번역한 내용입니다. Codelabs for Android Kotlin Fundamentals | Training Courses Content and code samples on this page are subject to the licenses described in the Content License. Java is a registered trademark of Oracle and/or its affiliates. Last updated 2020-09-14 UTC. developer.android.com 코드는 github를 참고해주세요 05-3. Databinding with ViewModel and Live.. 2021. 2. 18.