Join Slack
Powered by
Suppose I need to implement two interfaces in my c...
# general-advice
s
Sebastian Schuberth
11/24/2023, 3:40 PM
Suppose I need to implement two interfaces in my class, and these two interfaces contain declarations of equally named properties, but of different types. E.g. once there is
val id: Int
and in the other interface there is
val id: String
. How would I resolve that in my implementation?
k
Klitos Kyriacou
12/14/2023, 10:02 AM
Seems to be answered here:
https://stackoverflow.com/a/61559904/13963086
👍🏻 1
2
Views
Open in Slack
Previous
Next