FreshMvvm icon indicating copy to clipboard operation
FreshMvvm copied to clipboard

No Access to _pagesInner property in FreshMasterDetailNavigationContainer

Open masonyc opened this issue 7 years ago • 1 comments

I need to override AddPage<T> method so it can resolve the page by string. For example: public virtual void AddPage(string modelName, string title, object data = null) { var pageModelType = Type.GetType(modelName); var page = FreshPageModelResolver.ResolvePageModel(pageModelType, null); page.GetModel().CurrentNavigationServiceName = NavigationServiceName; _pagesInner.Add(page); var navigationContainer = CreateContainerPage(page); _pages.Add(title, navigationContainer); _pageNames.Add(title); if (_pages.Count == 1) Detail = navigationContainer; } But because of _pagesInner, I can not override the method.

masonyc avatar Jan 16 '18 02:01 masonyc

@masonyc is is something related to this issue? https://github.com/rid00z/FreshMvvm/issues/188

EmilAlipiev avatar Feb 01 '18 19:02 EmilAlipiev