Adapter for injectable views. It allows clients to inject their own views into our layouts.
Called when the custom view is required. It will be injected into the SDK's layout.
Called when the layout is destroyed.