예제 #1
0
 private void initGame(ThirdGameInfo gameInfo) {
   if (gameInfo != null) {
     mImageFetcher.loadImage(gameInfo.getMinPhoto(), icon, R.drawable.gameranking_item_icon);
     gameSize.setText(gameInfo.getGameSize() / 1024 / 1024 + "M");
     handleType.setText(GameAdapterTypeUtil.decideAdapter(gameInfo.getHandleType()));
     gameName.setText(gameInfo.getGameName());
     gameDesc.setText("内容介绍 : " + gameInfo.getRemark());
   }
 }
예제 #2
0
 public void setData(AdInfo info) {
   this.adInfo = info;
   imageFetcher.loadImage(
       info.getCornerMark(), panel.getMore_game_released(), R.drawable.translation);
   UIUtils.setOnline(panel.getGame_online(), info.getOnline());
   GameAdapterTypeUtil.decideAdapter(
       info.getHandleType(), panel.getHandle_icon(), panel.getControl_icon());
   imageFetcher.loadImage(info.getUrl(), panel.getMore_game_iv(), R.drawable.default_vertical);
 }