Kotlin 코루틴 및 Flow용 추가 리소스
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
다음 추가 리소스를 사용하여 Kotlin 코루틴 및 Flow에 관해 자세히 알아보세요. 이러한 리소스는 주제별로 그룹화됩니다.
기본사항
취소
- 코루틴 취소: 이 도움말에서는 코루틴 취소에 관해 자세하게 설명합니다.
- 코루틴: 모든 예외 처리: Kotlin 코루틴에서 취소 및 예외를 처리하기 위한 권장사항을 알아봅니다.
예외
- 코루틴 예외: 코루틴에서 예외가 전파되는 방식과 예외를 처리하는 방법을 알아봅니다.
- 코루틴: 모든 예외 처리: Kotlin 코루틴에서 취소 및 예외를 처리하기 위한 권장사항을 알아봅니다.
범위
Flow
테스트
라이브러리, Jetpack, 코루틴
뷰 레이어의 코루틴
- 뷰의 정지: 이 게시물에서는 코루틴을 통해 더 수월하게 UI를 프로그래밍하는 방법을 설명합니다.
내부 작동
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2025-07-27(UTC)
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-07-27(UTC)"],[],[],null,["# Additional resources for Kotlin coroutines and flow\n\nUse these additional resources to learn even more about Kotlin coroutines\nand flow. These resources are grouped by topic.\n\nBasics\n------\n\n- [First things first](https://medium.com/androiddevelopers/coroutines-first-things-first-e6187bf3bb21): This article teaches basic coroutine concepts, including `CoroutineScope`, `Job`, and `CoroutineContext`.\n- [The ABC of coroutines](https://youtu.be/bM7PVVL_5GM): Learn about the most common classes and functions used when working with coroutines.\n- [Coroutines in Android (series - 1st article linked)](https://medium.com/androiddevelopers/coroutines-on-android-part-i-getting-the-background-3e0e54d20bb): This post is the first in a series that teaches you about Kotlin coroutines.\n- [Understand Kotlin Coroutines on Android](https://www.youtube.com/watch?v=BOHK_w09pVA): This Google I/O 2019 talk gives an overview of using Kotlin coroutines on Android.\n- [Coroutines codelab](/codelabs/kotlin-coroutines): This codelab shows you how to use Kotlin coroutines to manage background threads and simplify your async code.\n- [Coroutines: how to manage async tasks in Kotlin](https://youtu.be/6manrgTPzyA): Learn about the state of coroutines in Android as of 2020.\n\nCancellation\n------------\n\n- [Cancellation in coroutines](https://medium.com/androiddevelopers/cancellation-in-coroutines-aa6b90163629): This article talks about about the ins and outs of coroutine cancellation.\n- [Coroutines: Gotta catch 'em all](https://www.youtube.com/watch?v=w0kfnydnFWI): Learn best practices for handling cancellation and exceptions in Kotlin coroutines.\n\nExceptions\n----------\n\n- [Exceptions in coroutines](https://medium.com/androiddevelopers/exceptions-in-coroutines-ce8da1ec060c): Learn how exceptions are propagated in coroutines and how to handle them.\n- [Coroutines: Gotta catch 'em all](https://www.youtube.com/watch?v=w0kfnydnFWI): Learn best practices for handling cancellation and exceptions in Kotlin coroutines.\n\nScopes\n------\n\n- [Easy coroutines in Android: viewModelScope](https://medium.com/androiddevelopers/easy-coroutines-in-android-viewmodelscope-25bffb605471): This article describes `viewModelScope`, an extension property that adds coroutines support to the `ViewModel` class.\n- [Patterns for work that shouldn't be cancelled](https://medium.com/androiddevelopers/coroutines-patterns-for-work-that-shouldnt-be-cancelled-e26c40f142ad): This article describes how to trigger coroutines that shouldn't be cancelled using an `applicationScope` or `externalScope`.\n\nFlow\n----\n\n- [Going with the Flow](https://youtu.be/emk9_tVVLcc): Learn about the flow API and its benefits.\n- [Advanced Coroutines with Kotlin Flow and LiveData](/codelabs/advanced-kotlin-coroutines): Learn how to use Kotlin coroutines with `LiveData` and flow in an Android app.\n- [Lessons learnt using Coroutines Flow in the Android Dev Summit 2019 app](https://medium.com/androiddevelopers/lessons-learnt-using-coroutines-flow-4a6b285c0d06): This article highlights best practices and other lessons learned when adding flow support to the Android Dev Summit 2019 app.\n- [Things to know about Flow's shareIn and stateIn operators](https://medium.com/androiddevelopers/things-to-know-about-flows-sharein-and-statein-operators-20e6ccb2bc74): This article talks about how the `stateIn` and `shareIn` operators can be used to improve performance, or even as a caching mechanism.\n- [Migrating from LiveData to Kotlin Flow](https://medium.com/androiddevelopers/migrating-from-livedata-to-kotlins-flow-379292f419fb): This article talks about what's the equivalent Flow code for some of the most common LiveData patterns you can have in your app. This helps if you're interested in migrating from LiveData to Flow.\n\nTesting\n-------\n\n- [Testing coroutines on Android](https://youtu.be/KMb0Fs8rCRs): Learn about the best practices to test your coroutines.\n- [Testing codelab - Coroutines section](https://developer.android.com/codelabs/advanced-android-kotlin-training-testing-survey#3): Learn about testing ViewModels that use coroutines by replacing `Dispatchers.Main` with a `TestCoroutineDispatcher`.\n- [Testing two consecutive LiveData emissions in Coroutines](https://medium.com/androiddevelopers/testing-two-consecutive-livedata-emissions-in-coroutines-5680b693cbf8): Learn how to use `TestCoroutineDispatcher` to pause and resume the execution of coroutines.\n\nLibraries, Jetpack, and Coroutines\n----------------------------------\n\n- [LiveData with Coroutines and Flow](https://www.youtube.com/watch?v=B8ppnjGPAGE): This talk from the 2019 Android Dev Summit covers how to use the `liveData` coroutine builder along with testing patterns and antipatterns to make clean, efficient, and solid reactive UIs.\n- [Building a Kotlin extensions library](/codelabs/building-kotlin-extensions-library): Learn how to build a Kotlin extensions library that adds coroutines and flow support to existing classes.\n- [Simplifying APIs with coroutines and Flow](https://medium.com/androiddevelopers/simplifying-apis-with-coroutines-and-flow-a6fb65338765): Learn how to simplify your libraries with coroutine adapters, create your own, and see how they work under the hood.\n\nCoroutines in the view layer\n----------------------------\n\n- [Suspending over Views](https://medium.com/androiddevelopers/suspending-over-views-19de9ebd7020): This post talks about how coroutines can make UI programming easier.\n\nUnder the hood\n--------------\n\n- [Suspend functions - Kotlin Vocabulary](https://youtu.be/IQf-vtIC-Uc): Learn why coroutines are important and how they work under the hood.\n- [The suspend modifier under the hood](https://medium.com/androiddevelopers/the-suspend-modifier-under-the-hood-b7ce46af624f): Learn how the compiler transforms your code to suspend and resume the execution of your coroutines."]]