Неоднозначность разрешения перегрузки. Все эти функции соответствуют Android Studio. ⇐ Android
Неоднозначность разрешения перегрузки. Все эти функции соответствуют Android Studio.
What could be the problem here: enter image description here
I keep getting an error: Overload resolution ambiguity. All these functions match. public fun Text(text: String, modifier: Modifier = ..., color: Color = ..., fontSize: TextUnit = ..., fontStyle: FontStyle? = ..., fontWeight: FontWeight? = ..., fontFamily: FontFamily? = ..., letterSpacing: TextUnit = ..., textDecoration: TextDecoration? = ..., textAlign: TextAlign? = ..., lineHeight: TextUnit = ..., overflow: TextOverflow = ..., softWrap: Boolean = ..., maxLines: Int = ..., minLines: Int = ..., onTextLayout: ((TextLayoutResult) → Unit)? = ..., style: TextStyle = ...): Unit defined in androidx.compose.material3 public fun Text(text: String, modifier: Modifier = ..., color: Color = ..., fontSize: TextUnit = ..., fontStyle: FontStyle? = ..., fontWeight: FontWeight? = ..., fontFamily: FontFamily? = ..., letterSpacing: TextUnit = ..., textDecoration: TextDecoration? = ..., textAlign: TextAlign? = ..., lineHeight: TextUnit = ..., overflow: TextOverflow = ..., softWrap: Boolean = ..., maxLines: Int = ..., minLines: Int = ..., onTextLayout: (TextLayoutResult) → Unit = ..., style: TextStyle = ...): Unit defined in androidx.compose.material3
Источник: https://stackoverflow.com/questions/780 ... roidstudio
What could be the problem here: enter image description here
I keep getting an error: Overload resolution ambiguity. All these functions match. public fun Text(text: String, modifier: Modifier = ..., color: Color = ..., fontSize: TextUnit = ..., fontStyle: FontStyle? = ..., fontWeight: FontWeight? = ..., fontFamily: FontFamily? = ..., letterSpacing: TextUnit = ..., textDecoration: TextDecoration? = ..., textAlign: TextAlign? = ..., lineHeight: TextUnit = ..., overflow: TextOverflow = ..., softWrap: Boolean = ..., maxLines: Int = ..., minLines: Int = ..., onTextLayout: ((TextLayoutResult) → Unit)? = ..., style: TextStyle = ...): Unit defined in androidx.compose.material3 public fun Text(text: String, modifier: Modifier = ..., color: Color = ..., fontSize: TextUnit = ..., fontStyle: FontStyle? = ..., fontWeight: FontWeight? = ..., fontFamily: FontFamily? = ..., letterSpacing: TextUnit = ..., textDecoration: TextDecoration? = ..., textAlign: TextAlign? = ..., lineHeight: TextUnit = ..., overflow: TextOverflow = ..., softWrap: Boolean = ..., maxLines: Int = ..., minLines: Int = ..., onTextLayout: (TextLayoutResult) → Unit = ..., style: TextStyle = ...): Unit defined in androidx.compose.material3
Источник: https://stackoverflow.com/questions/780 ... roidstudio
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение
-
-
Неоднозначность разрешения перегрузки. Все эти функции соответствуют Android Studio
Anonymous » » в форуме Android - 0 Ответы
- 11 Просмотры
-
Последнее сообщение Anonymous
-
-
-
Вызов перегрузки конструктора, когда обе перегрузки имеют одинаковую подпись
Anonymous » » в форуме C# - 0 Ответы
- 28 Просмотры
-
Последнее сообщение Anonymous
-