Print at Dec 23, 2025, 8:41:37 AM

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