public void setStoryState(EStoryState state) { mCurrentState = state; int imageKey = StoryStateExt.getImageKey(mCurrentState, false); if (imageKey == 0) { imageKey = Resources.image.appBlankCircleId; } setIcon(_imageRepository.getImage(imageKey)); }
SelectStateAction(EStoryState state) { mStoryState = state; int imageKey = StoryStateExt.getImageKey(mStoryState, false); putValue(Action.SMALL_ICON, _imageRepository.getImage(imageKey)); }