modifyAdapterIfOwned

public final Unit modifyAdapterIfOwned(Function1<T, Unit> modify)

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