-
-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BuildNotImplemented lint check: false error when dialog is used from Kotlin #57
Comments
That's the intended behaviour when calling build on a subclass that does not implement/overwrite the method. See #31 and issues referenced there. (In case I misunderstood that's because you didn't provide the information requested in the issue template) |
Sorry for the incomplete information. The error is raised on calls on classes that implement the build method, for example: SimpleListDialog.build() or SimpleInputDialog.build() |
Okay then it's not intended 😄 |
This can be solved by using only This will work in Kotlin. What will not work is that your project won't compile because of duplicate |
Thank you @sharmanitin0497 for the hint. |
And for multiple Dialogs, you can use aliases as
Then, call them just like But, the reason I came here is I can't build the project because it shows |
The BuildNotImplemented lint check raises an error for a call to any of the dialogs' build method from a Kotlin class:
The text was updated successfully, but these errors were encountered: