https://kotlinlang.org logo
#exposed
Title
# exposed
r

runjorel

01/18/2019, 4:29 PM
Hi all. Would there be an issues to `open`ing
ResultRow
? Long story short I wanted to create a delegate class to ResultRow but I don’t believe its possible due to ResultRow not being open.
t

tapac

01/19/2019, 9:03 PM
Could you tell what and why you want to extend on
ResultRow
? Because opening ResultRow wont help because you can delegate only on interfaces.
r

runjorel

01/20/2019, 2:46 AM
Ah, good call. I was wanting to delegate to ResultRow but forgot about the interface part of delegates. Overall, what I was trying to accomplish was creating typed results rows without having to write a wrapper class implementation. i.e. UsersTable -> UsersResultRow (which would just delegate to the Result Row, etc.)