SrSouza
03/24/2022, 2:34 AM@Composable
no problem problem building it. but I'm having runtime exception: java.lang.NoSuchMethodError: No virtual method getValue-0d7_KjU(Ljava/lang/Object;Lkotlin/reflect/KProperty;)J
Does @Composable
support delegate property?
Example:
@Composable
public operator fun getValue(thisRef: Any?, property: KProperty<*>): Color {
return animateColorAsState(targetValue = state).value
}
Ronald Wolvers
03/24/2022, 7:05 AM@Composable
? I have not seen composable functions that return values, although I at the same time don't see why they couldn't, but just curious about your use case.SrSouza
03/24/2022, 1:43 PMZach Klippenstein (he/him) [MOD]
03/24/2022, 3:01 PM