CallbackFragmentFactory

Factory to create Fragment for onCallbackReceived

Constructors

Link copied to clipboard
private constructor()

Properties

Link copied to clipboard
val CALLBACK: String = "CALLBACK"
Link copied to clipboard
private val fragments: Map<String, Class<out Fragment>>
Link copied to clipboard
Link copied to clipboard
val NODE: String = "NODE"
Link copied to clipboard
private val TAG: String

Functions

Link copied to clipboard
open fun getFragment(node: Node): Fragment
Retrieve the Fragment that represent the Node
open fun getFragment(callback: Callback): Fragment
open fun getFragment(node: Node, callback: Callback): Fragment
Retrieve the Fragment that represent the Callback
Link copied to clipboard
Link copied to clipboard
private open fun newInstance(clazz: Class<out Fragment>): Fragment
Link copied to clipboard
open fun register(callback: Class<out Callback>, fragment: Class<out Fragment>)

open fun register(callback: String, fragment: Class<out Fragment>)
Register Fragment for Callback or Stage for Page Node