Код: Выделить всё
error: incompatible types: NonExistentClass cannot be converted to Annotation
@error.NonExistentClass()
< /code>
at < /p>
@Preview("Drawer contents")
@Preview("Drawer contents (dark)", uiMode = UI_MODE_NIGHT_YES)
@Composable
fun PreviewAppDrawer() {
AppTheme {
Surface {
AppDrawer(
currentScreen = Screen.Home,
onTopLevelScreenNavigate = {},
closeDrawer = { }
)
}
}
}
Как это исправить?>
Подробнее здесь: https://stackoverflow.com/questions/746 ... -functions
Мобильная версия