Does anyone know why something like this would iss...
# compose
m
Does anyone know why something like this would issue a “RememberReturnType” lint error? vm is clearly typed here. I wonder if it’s just a lint bug. FYI: This is not production code, it’s for a screen gallery showing off the UI portion, so we don’t need to go as deep as using a real view model factory.
Copy code
val vm = remember {
        MyVm(
            savedStateHandle = SavedStateHandle(),
        ).apply {
            someProperty = null
        }
    }
l
Does it fail from both command line and inside Studio?