-
public interface InjectedViewAdapterConfigurator<T extends InjectedViewAdapter>Internal use only.
An interface for configuring an InjectedViewAdapter.
Implement this method when creating an InjectedViewAdapterHolder to configure the InjectedViewAdapter when needed.
-
-
Method Summary
Modifier and Type Method Description abstract UnitonConfigure(T injectedViewAdapter)Called every time after the InjectedViewAdapter.onCreateView has been called. -
-
Method Detail
-
onConfigure
abstract Unit onConfigure(T injectedViewAdapter)
Called every time after the InjectedViewAdapter.onCreateView has been called.
This method is called in
onStartof the InjectedViewContainer's lifecycle observer.IMPORTANT: When this is called the view adapter has lost its previous state and must be completely reconfigured to be in the required state. For example if a button has been disabled and this method was called afterwards then you have to disabled the button again.
-
-
-
-