Tuesday, 26 August 2014

Type case expressions must be constant expressions android

Tip
You can quickly convert a switch statement to an if-else statement using Eclipse's quick fix.
Click on the switch keyword and press Ctrl + 1 then select
Convert 'switch' to 'if-else'.
http://spacetech.dk/android-case-expresssions-must-be-constant-expressions.html
http://tools.android.com/tips/non-constant-fields


No comments:

Post a Comment