@Override protected void elementClicked(int index, boolean doubleClick) { selectedIndex = index; if (doubleClick && updateList.get(index) != null) { parent.openInfoScreen(updateList.get(index)); } }
public void makeList() { updateList.clear(); for (int index = 0; index < UpdateHandler.getListSize(); index++) { Update update = UpdateHandler.getElement(index); if (update != null && parent.getUpdateListProperties().shouldBeInList(update)) { updateList.add(update); } } }
@Override protected void drawBackground() { parent.drawDefaultBackground(); }