Print at Feb 7, 2026, 8:48:00 PM

Posted by jrmobile at Aug 17, 2020, 7:02:45 PM
Re: Check if item is selected.
I'm trying this one, but it still fires an error selectable
cannot be resolved to a type


List<Selectable> selectedItems = home.getSelectedItems();
List<HomePieceOfFurniture> furniture = selectedItems.getFurniture();

for (HomePieceOfFurniture homePiece : furniture) {
if (selectedItems.contains(homepiece)) {
continue;
}
}
}