Pages

Thursday, January 30, 2025

Android kotlin : type has no method getValue

 


Here's a common mistake we encounter :




At first, it's disturbing.

The solution is quite simple, you have to add the following import to solve the issue :

import androidx.compose.runtime.getValue


More details here : https://kotlinlang.org/docs/operator-overloading.html

No comments:

Post a Comment

PlayConsole : suppression des warnings lors de la publication (minify, symbole de debogage...)

Lors de la publication des versions dans la PlayConsole, j'avais 2 warnings pour indiquer qu'il était possible de réduire et d'o...