class CardsGridComponent {

    public void setupCards(final List<CardComponent> cards) {

        setCardFrames(asFrames(cards));

        getView().clearGrid();
        asElements(getCardFrames()).forEach(getView()::appendCard);

        setupEmptyState(getCardFrames().isEmpty());
    }

    @Inject public  CardsGridComponent(final View view,
                              final ManagedInstance<CardFrameComponent> cardFrameInstances);

}