Find MutableLiveData allocations

Proprietary

In Kotlin Android code, MutableStateFlow<T> is the modern equivalent. It integrates with structured concurrency, exposes the current value synchronously, and composes cleanly with Compose's collectAsState/collectAsStateWithLifecycle. Each MutableLiveData() here is a candidate for migration.

org.openrewrite.kotlin.android.FindMutableLiveDataAllocation$KtRecipe
mod run . --recipe='org.openrewrite.kotlin.android.FindMutableLiveDataAllocation$KtRecipe'

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.