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()); } }
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); }