https://kotlinlang.org logo
Title
n

Nikolaus

05/25/2023, 7:35 AM
Hi, i am new on this channel and hope it is the right one for the problems if have with kotlin. I have developed a kotlin app three years ago with sqlite database and recyclerview. Some weeks ago i got the message from the Android Studio that the Support of Kotlin Extensions is depricated and i have to migrate to ViewBinding. The build process stopped. I read the migration tutorial that was linked, but could not eleminate some remaining errors in the Adapter and holder class. I think the tutorial should give more details for complex Apps. How can i contatect the author of this tutorial? If needed, i could post a reduced Code sample. Thank you for your help.
s

Srijit Saha

05/26/2023, 5:53 AM
If you could add some more context or share the error it would help 😅
n

Nikolaus

05/27/2023, 11:24 AM
Another question in this context: can i change some parameters and go back to an earlier version of Kotlin, gradle etc. to do some necessary work in the meantime. And do the migration later? I have located the Adapter and holder class in a separate kotlin file. The sqlite data were adressable and could be moved to the Recyclerview items in the old version. This does not work now. I have also encluded an onClicklistener to start a DetailActivity for selected items of the Recyclerview.
s

Srijit Saha

05/27/2023, 4:23 PM
You can always reduce the versions from build.gradle file and agp from project structure, instead of that, can you share the error logs so that we can see what the issue is
n

Nikolaus

05/27/2023, 4:30 PM
I tried to reduce the Version numbers already, but i was not successful. Do you know exactly what to do in this case? Where do i find the errors logs? Is it a file?
s

Srijit Saha

05/29/2023, 1:07 PM
When you are building the project you will get errors there
n

Nikolaus

05/29/2023, 2:39 PM
That is right. And the migration tutorial does not help for the complex configuration of my App.
s

Srijit Saha

05/29/2023, 2:50 PM
Can you share the error ?
If it’s a personal project can you share the repo link ?
n

Nikolaus

05/30/2023, 11:20 AM
I found in the log directory the file idea.log 7 MB. Do you need this file for diagnostics? I dont know what is a repo link.