You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When there's no explicit ActionBar directive defined in the Page, the default one doesn't have meta information (insertChild, removeChild methods) attached to it.
Let's say we create an ActionBarExtension with an ActionItem in that Page.
If we remove the ActionItem dynamically, the renderer will call the generic _removeView (that's because the default ActionBar doesn't have meta, as mentioned above). This results in the following error:
When a View is passed through the renderer on insert/remove it's patched
with ViewExtensions for its class. That is done for parent views and for
child views.
fixes#978
When a View is passed through the renderer on insert/remove it's patched
with ViewExtensions for its class. That is done for parent views and for
child views.
fixes#978
refactor(renderer): invoke removeFromQueue for every element
refactor(action-bar): insert ActionItems at correct positions
ActionBar's insertChild method is now passed a next view argument. When the view to insert is an ActionItem, next is used to find the correct position to insert the new item.
refactor(renderer): patch every View with ViewExtensions
When a View is passed through the renderer on insert/remove it's patched
with ViewExtensions for its class. That is done for parent views and for
child views.
fixes#689, fixes#978
When there's no explicit
ActionBar
directive defined in thePage
, the default one doesn't havemeta
information (insertChild
,removeChild
methods) attached to it.Let's say we create an
ActionBarExtension
with anActionItem
in thatPage
.If we remove the
ActionItem
dynamically, the renderer will call the generic_removeView
(that's because the defaultActionBar
doesn't havemeta
, as mentioned above). This results in the following error:related to #942
thanks to @madakk for reporting
The text was updated successfully, but these errors were encountered: