sourabhv
03/05/2018, 1:00 PMenum class Orientation { vertical, horizontal }
The names vertical and horizontal need to remain all lower case. I am using this enum in parsing a JSON response which contains orientation in all lowercase.
Is there a way to suppress the warning? Studio doesn’t give any @Suppress suggestions
__
Or alternatively a way to name Orientation.Horizontal.name to be horizontal