You can surround the case in a scope:

```
case R.id.xyz:
   {
     final double lat = 15.88;
   }
   break;
```
The reason is variable declarations will not affect other case statements.