问题描述
int fromType = getIntent().getExtras().getInt(ConstantValues.BUNDLE_FROM);
提示must be one of: ChoosePhotoActivity.TYPE_FREE_CHANGE_PIC, ChoosePhotoActivity.TYPE_FREE, ChoosePhotoActivity.TYPE_PUZZLE, ChoosePhotoActivity.TYPE_PUZZLE_CHANGE_PIC more... (Ctrl+F1)
应该用什么解决办法?
问题解答
回答1:试试加上@SuppressWarnings('ResourceType'),出处:http://stackoverflow.com/ques...