louiscad
04/21/2017, 1:49 PMInt
in Android which can only have a few values, and I dislike having to add an else branch each time for something that can't happen. For example, View Visibility is not an enum, but can have 3 Int
values (VISIBLE, INVISIBLE, GONE). The impossible else cases pollutes a lot of Android code IMHO