fun WinterInjection.useAndroidPresentationScopeAdapter(tree: WinterTree = GraphRegistry): Unit
Register an AndroidPresentationScopeAdapter on this WinterInjection instance.
Use the tree parameter if you have your own object version of WinterTree that should be used which may be useful when Winter is used in a library.
tree
- The tree to operate on.
fun WinterInjection.useAndroidPresentationScopeAdapter(application: WinterApplication): Unit
Register an AndroidPresentationScopeAdapter on this WinterInjection instance.
application
- The WinterApplication instance to be used by the adapter.