Package 

Class CallbackFragmentFactory

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final static String NODE
      public final static String CALLBACK
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

    • Method Detail

      • getFragment

         Fragment getFragment(Node node)

        Retrieve the Fragment that represent the Node

        Parameters:
        node - The Node returned from onCallbackReceived
      • getFragment

         Fragment getFragment(Callback callback)

        Retrieve the Fragment that represent the Callback

        Parameters:
        callback - The Callback
      • getFragment

         Fragment getFragment(Node node, Callback callback)

        Retrieve the Fragment that represent the Callback

        Parameters:
        node - The Callback's parent Node
        callback - The Callback.
      • register

         void register(String callback, Class<out Fragment> fragment)

        Register Fragment for Callback or Stage for Page Node

        Parameters:
        callback - Callback Type or Stage from Page Node
        fragment - The Fragment to collect data.