Print at Jan 21, 2026, 6:49:38 AM

Posted by jrmobile at Aug 17, 2020, 9: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;
}
}
}