ProAndroidDev

The latest posts from Android Professionals and Google Developer Experts.

Follow publication

Published in ProAndroidDev

The latest posts from Android Professionals and Google Developer Experts.

Written by Uberto Barbini

JVM and Kotlin independent consultant. Passionate about Code Quality and Functional Programming. Author, public speaker and OpenSource contributor.

Responses (7)

Write a response

Adib Faramarzi maybe you meant to mark them as abstract because you cannot mark a sealed class as open. In that case, you are right and I will update the post.

--

Hi Marcin Jeleński, you are absolutely right!
I actually used to declare them abstract, but then I became annoyed with all the abstract keyword, and nowadays I prefer to have a separate interface.
I should have mentioned though. I will update the post, thanks

--