BeanItemContainer get last added item ?

tried using

addItemSetChangeListener(event ->{


[/code]But i cannot find anything about last added bean to container…
Any chance to get this information about last added bean ???

I see the sigle way to keep the previous item id collection, and calculate the difference with current getItemIds collection inside your ItemSetChangeListener.

Thx for information.