Пример #1
0
 protected override IMvxAndroidViewsContainer CreateViewsContainer(Context applicationContext)
 {
     var viewsContainer = base.CreateViewsContainer(applicationContext);
     var viewFinder = new LazyViewFinder(() => typeof(ThirdView).Assembly);
     ((IMvxViewsContainer)viewsContainer).AddSecondary(viewFinder);
     return viewsContainer;
 }
Пример #2
0
 protected override IMvxPhoneViewsContainer CreateViewsContainer(PhoneApplicationFrame rootFrame)
 {
     var viewsContainer = new MultiAssemblyViewsContainer();
     var viewFinder = new LazyViewFinder(() => typeof(ThirdView).Assembly);
     viewsContainer.AddSecondary(viewFinder);
     return viewsContainer;
 }