Type ‘TypeVariable(T)’ has no method ‘getValue(Nothing?, KProperty<*>)’ and thus it cannot serve as a delegate
現象
var name by rememberSaveable { mutableStateOf("") }
って構文を使おうとした時にタイトルのエラーでた。
対応
import androidx.compose.runtime.getValue import androidx.compose.runtime.setValue
を追加。
参考
Blocked
コメント
[…] rt androidx.compose.runtime.setValue https://dalomo.net/blog/2021/04/03/1342/ […]