Hi, i am new on this channel and hope it is the ri...
# android
n
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
If you could add some more context or share the error it would help 😅
n
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
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
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
When you are building the project you will get errors there
n
That is right. And the migration tutorial does not help for the complex configuration of my App.
s
Can you share the error ?
If it’s a personal project can you share the repo link ?
n
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.
I found a first step for a solution here: https://androidgeek.co/recyclerview-in-android-with-example-in-depth-guide-94462a6b573b . Its one of the rare samples for recyclerview using ViewBinding with Adapter and Holder. Still missing is an onClickListener for a DetailActivity and a dataBinding with a SQlite database. A lot of Samples i found simply dont use the ViewBinding.