Package 

Interface InjectedViewAdapter


  • 
    public interface InjectedViewAdapter
    
                        

    Adapter for injectable views. It allows clients to inject their own views into our layouts.

    • Method Summary

      Modifier and Type Method Description
      abstract View onCreateView(ViewGroup container) Called when the custom view is required.
      abstract Unit onDestroy() Called when the layout is destroyed.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • onCreateView

         abstract View onCreateView(ViewGroup container)

        Called when the custom view is required. It will be injected into the SDK's layout.

        Parameters:
        container - the ViewGroup which will contain the returned view
      • onDestroy

         abstract Unit onDestroy()

        Called when the layout is destroyed.