Compose LaunchedEffect key가 바뀌면 왜 계속 재실행될까
Compose LaunchedEffect key가 바뀔 때 왜 coroutine이 취소되고 다시 시작되는지, rememberUpdatedState와 함께 실무 예제로 설명합니다.
Compose LaunchedEffect key가 바뀔 때 왜 coroutine이 취소되고 다시 시작되는지, rememberUpdatedState와 함께 실무 예제로 설명합니다.
repeatOnLifecycle과 launchWhenStarted 차이를 안드로이드 Flow 수집 관점에서 정리합니다. 왜 repeatOnLifecycle이 더 안전한지, collector restart, lifecycle gap, duplicate collection, Fragment View UI 예제까지 실무적으로 설명합니다.
안드로이드 코루틴을 처음 배우는 개발자를 위해 suspend, launch, async, Dispatcher, viewModelScope, lifecycleScope, 취소와 structured concurrency를 한 번에 정리한 기초 가이드.