and i want to access it in the MainActivity file
I tried different ways to import the xml file but I get an error each time.
I added a picture of the navigation in the project, what am I missing?
enter image description here
I created a recyclerView variable in an xml named [code]activiy_main.xml[/code] and i want to access it in the MainActivity file I tried different ways to import the xml file but I get an error each time. I added a picture of the navigation in the project, what am I missing? enter image description here
Имя xml-файлов моей студии Android Res Layout показывает дубликаты. Также мое имя файла, которое можно нарисовать, отображается два раза. например: main_activity.xmlmain_activity.xml. Я также обновил свою...
Проблема возникала, когда сразу после попытки «зарегистрироваться» приложение Kotlin аварийно завершало работу. Предполагается, что оно не может найти или прочитать изображение в папке, доступной для рисования. Я попытался переименовать изображения,...
В Android Studio (Kotlin):
val calendar = Calendar.getInstance()
calendar.set(1900, 0, 7, 0, 0, 0)
println(calendar.timeInMillis)
println(calendar.time)
// -2208484952073
// Sun Jan 07 00:00:00 YEKT 1900