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.
Yes. My intention was to convey that enums would suffice for that usecase. We can use object sealed class as well. Both work fine.
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.