Android Studio 2.0 Preview 3 发布
Anew lint check which looks at switch statements used in concert with @IntDef integers, and makes sure that all constants from the @IntDef arehandled:Notethat there is a quickfix for adding the missing statements as well, so after adding an empty switch statement this is a quick way to populate the initial set of case statements:
页:
[1]