arongsoft 发表于 2015-12-25 09:17:30

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]
查看完整版本: Android Studio 2.0 Preview 3 发布