Re: [android-developers] Re: Android Studio + Kotlin + databinding = unused methods?

2016-05-17 Thread Streets Of Boston
You're right, that could be an issue. When coding Java source, you can add comments to disable certain Lint checks. I know those work in Kotlin as well, but the set of available 'comments' may be limited compared to their Java counterpart. On Tuesday, May 17, 2016 at 10:46:37 AM UTC-4, Mike Hu

Re: [android-developers] Re: Android Studio + Kotlin + databinding = unused methods?

2016-05-17 Thread Mike Hurley
I just looked in Android Studio 2.1.1 and I didn't see an option to "comment out" the unused method warning for that method. My only choice was to clean delete the method. Is there a manual syntax/annotation I can try? I wonder if the Kotlin plugin is simply less advanced in this area. On Mon, May

[android-developers] Re: Android Studio + Kotlin + databinding = unused methods?

2016-05-16 Thread Streets Of Boston
What about just disabling the Lint processing for this 'unused' issue? Click on the yellow warning and fix it by adding a lint-disabling comment to the method. This will remove the warning. On Saturday, May 14, 2016 at 10:47:33 AM UTC-4, Mike Hurley wrote: > > Here are the versions I'm using: >