internal ActionBarTabItemsSourceGenerator(ActionBar actionBar, ActionBarTabTemplate tabTemplate)
 {
     Should.NotBeNull(actionBar, "actionBar");
     Should.NotBeNull(tabTemplate, "tabTemplate");
     _actionBar = actionBar;
     _tabTemplate = tabTemplate;
     _collectionViewManagerMember = BindingServiceProvider
         .MemberProvider
         .GetBindingMember(actionBar.GetType(), AttachedMembers.ActionBar.CollectionViewManager, false, false);
     TryListenActivity(_actionBar.ThemedContext);
 }
Example #2
0
 internal ActionBarTabItemsSourceGenerator(ActionBar actionBar, ActionBarTabTemplate tabTemplate)
 {
     Should.NotBeNull(actionBar, nameof(actionBar));
     Should.NotBeNull(tabTemplate, nameof(tabTemplate));
     _actionBar   = actionBar;
     _tabTemplate = tabTemplate;
     _collectionViewManagerMember = BindingServiceProvider
                                    .MemberProvider
                                    .GetBindingMember(actionBar.GetType(), AttachedMembers.ActionBar.CollectionViewManager, false, false);
     TryListenActivity(_actionBar.ThemedContext);
 }