modify Adapter If Owned
Use this method to modify the InjectedViewAdapter. It makes sure to only apply the modifications, if the InjectedViewAdapter is still owned by this container.
Parameters
modify
lambda containing the modifications to apply on the InjectedViewAdapter