Neeraja Gandla
Apr 27, 2022

Yes. My intention was to convey that enums would suffice for that usecase. We can use object sealed class as well. Both work fine.

Neeraja Gandla
Neeraja Gandla

Written by Neeraja Gandla

I’m an Android App Developer by Profession. I would like to write out my thoughts and learning to let others learn through my experiences.

No responses yet