public void loadChannelData(List<UChannel> channelLst) { channels = new HashMap<Integer, UChannel>(); for (UChannel channel : channelLst) { channels.put(channel.getChannelID(), channel); } Log.i("Load channels:" + channels.size()); }
public void loadGameData(List<UGame> gameLst) { games = new HashMap<Integer, UGame>(); for (UGame game : gameLst) { games.put(game.getAppID(), game); } Log.i("Load games :" + games.size()); }
public void loadMasterData(List<UChannelMaster> masterLst) { masters = new HashMap<Integer, UChannelMaster>(); for (UChannelMaster master : masterLst) { masters.put(master.getMasterID(), master); } Log.i("Load masters:" + masters.size()); }