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