TabDelegateActivationPolicy

Since: BlackBerry 10.2.0

Specifies when a tab should set the active property of its delegate.


Overview

Public Types Index

Public Types

Type

Enumeration for specifying when a tab should set the active property of its delegate.

Since:

BlackBerry 10.2.0

Default = 0x0

The default delegate activation policy.

None = 0x1

The tab will never set the active property on its delegate.

With this option the application will have to set the active property of the delegate. This is useful if the application has very specific requirements regarding when the tab content should be created and deleted.

Since:

BlackBerry 10.2.0

ActivatedWhileSelected = 0x2

The tab will set the active property on its delegate to true when the tab is selected and false when it's no longer selected.

With this option the content of the tab will only exist when the tab is selected thus improving start up time of the application and saving memory. The downside is that switching between tabs can be slow if the tab content is heavy to load.

Since:

BlackBerry 10.2.0

ActivateWhenSelected = 0x3

The tab will set the active property on its delegate to true when the tab is selected.

With this option the content of the tab is created when the tab is selected. This improves the start up time of the application. Since the tab content never is deleted switching to the tab will only be slow the first time it is selected.

Since:

BlackBerry 10.2.0

ActivateImmediately = 0x4

The tab will immediately set the active property on its delegate to true.

With this option the tab content will be created immediately when a source is set on the delegate. Clearing the source properties on the delegate will delete the content.

Since:

BlackBerry 10.2.0

Last modified: 2014-05-14



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus