Fragment¶
Declaration¶
- class enamlnative.widgets.fragment.Fragment(parent=None, **kwargs)[source]¶
Bases:
enaml.core.conditional.Conditional
,enaml.widgets.toolkit_object.ToolkitObject
Fragment a “sub” activity with a lifecycle, view, and state. A fragment has no “widget” but it can have child widgets that will define it’s view. The children are rendered when the fragment’s view is requested.
- proxy¶
A reference to the proxy object.
- cached¶
Don’t destroy the view once loaded
- defer_loading¶
Defer loading of child nodes
Android Implementation¶
- class enamlnative.android.android_fragment.AndroidFragment[source]¶
Bases:
enamlnative.android.android_toolkit_object.AndroidToolkitObject
,enamlnative.widgets.fragment.ProxyFragment
An Android implementation of an Enaml ProxyFragment.
- fragment¶
A reference to the fragment created by the proxy.
- ready¶
Future set when ready
No iOS implementation found.