Android에서 UI Event를 처리하는 방법에 대해 알아봅니다. 본 글은 Manuel Vivo님의 글과 Android 가이드 문서를 읽고 정리한 글입니다. 자세한 내용은 아래 링크를 참고하세요. ViewModel: One-off event antipatterns
You should handle ViewModel events immediately, causing a UI state update. Not doing this can result in bugs and future…medium.com https://developer.android.com/topic/architecture/ui-layer/events 👀 UI Event UI 이벤트란 UI 레이어(Activity, Fragment..)에서 UI 또는 ViewModel로 처리해야 하는 작업을 뜻합니다. 일반적으로 사용자의 버튼 클릭이나 스와이프 등등의 앱과의 상호작용을 통해 이런 이벤트들이 만들어집니다 …