Injected View Adapter Instance
Internal use only.
Represents an "instance" of an InjectedViewAdapter which will be shown in one or more screens' InjectedViewContainer.
We use this class to wrap the InjectedViewAdapter and attach additional information needed to manage it.
We need to know with which InjectedViewContainer the view adapter is associated with to prevent destructive modifications from view containers that are not the currently associated one. For example if the view adapter is shown in a new view container and the previous one is destroyed then the view adapter won't be destroyed because the new associated view container is different than the old one.
Constructors
Link copied to clipboard
public InjectedViewAdapterInstance<T> InjectedViewAdapterInstance<T extends InjectedViewAdapter>(T viewAdapter, InjectedViewContainer<T> viewContainer)
Link copied to clipboard
public InjectedViewAdapterInstance<T> InjectedViewAdapterInstance<T extends InjectedViewAdapter>(T viewAdapter)