SunnyDong-xyd / Coriander

0 stars 0 forks source link

Change switch to if/else in BaseActivity.onOptionsItemSelected. #8

Open SunnyDong-xyd opened 3 years ago

SunnyDong-xyd commented 3 years ago

ADT 14 resource identifiers are no longer final. Google states to use if/else conditions as alternative.

See: http://tools.android.com/tips/non-constant-fields