Open BradChase2011 opened 9 years ago
I'm afraid that tabbed and navigation pages aren't supported. Please raise a xamarin bug or let your xamarin account rep know that you value this feature. There's nothing I can do : it's a framework issue.
Sent from my iPhone
On 14 Jul 2015, at 17:11, BradChase2011 notifications@github.com wrote:
So I have a PageViewContainer and then I have underneath that a TabbedPage with children Pages. Unfortunately it wont show anything at all. I set a background color to the PageViewContainer and it shows that but none of the children TabbedPages. Is there something I need to do that is special or?
TabbedPage test = new TabbedPage(); test.Children.Add(new Page(){Title="Test1", BackgroundColor = Color.Green}); test.Children.Add(new Page(){Title="Test2", BackgroundColor = Color.Green}); test.Children.Add(new Page(){Title="Test3", BackgroundColor = Color.Green}); TabElement.Content = test;
TabElement is my PageViewContainer.
Thanks!
— Reply to this email directly or view it on GitHub.
Ohh shoot, I was afraid of that. Thanks a ton for the help and code georgejecook. Ill move back to my custom tabs.
But do let xamarin know. !! It won't change if you they don't know it effects other users too.
Thanks.
Sent from my iPhone
On 15 Jul 2015, at 09:08, BradChase2011 notifications@github.com wrote:
Ohh shoot, I was afraid of that. Thanks a ton for the help and code georgejecook. Ill move back to my custom tabs.
— Reply to this email directly or view it on GitHub.
You think it will make a difference? Are there any actual limitations in Android or iOS that would stop Xamarin from being able to implement something like this? Or atleast take out the arcane Page handling?
there are no limitations other than them cutting corners in their implementation based on assuming that these container pages would be top-level pages and not giving us a proper page in page embedding mechanism.
The lead of the project marked my bug for this as fixed and said they’d taken it into consideration; but then we had a bit of a spat on a forum post a few weeks back, and he told me that there were “no plans for the feature”. More people letting him know it’s important will likely help him in being a bit more mature about it. 9 people have asked me about this so far. You and I are not the only ones who see value in embedding pages, and would expect to be able to embed any page.
On Jul 15, 2015, at 10:28 AM, BradChase2011 notifications@github.com wrote:
You think it will make a difference? Are there any actual limitations in Android or iOS that would stop Xamarin from being able to implement something like this? Or atleast take out the arcane Page handling?
— Reply to this email directly or view it on GitHub https://github.com/twintechs/TwinTechsFormsLib/issues/9#issuecomment-121652654.
Yea I feel ya there! I am still trying to fight for Microsoft style control building and TemplateBindings. I feel that is a necessity as well. Obviously this is a very large one especially if you want to invade the tablet and pc market. For phones? Yea I can kinda see why you couldnt even fit two pages on a screen anyways, but why limit yourselves?
Edit: Also I wonder if there is another way to do it outside of using "Page"? Maybe create a new View from scratch that can use the native elements? I dont know enough about the native renderers sorry if I come off way off base here.
The point is that we create for phones and tablets. It’s a useful feature for tablets (and a feature supported by all 3 operating systems). And as for phones, it’s still valuable.. because if not.. well how do you write custom navigation? For me, that’s the main motivation. I’ve even seen forum members suggesting we just write everything as content views.. which is just as silly as it get’s. It’s a lack of fore-sight on their behalf. Hopefully they’ll get more experienced leadership on forms who can help steer it in a better direction.
On Jul 15, 2015, at 10:41 AM, BradChase2011 notifications@github.com wrote:
Yea I feel ya there! I am still trying to fight for Microsoft style control building and TemplateBindings. I feel that is a necessity as well. Obviously this is a very large one especially if you want to invade the tablet and pc market. For phones? Yea I can kinda see why you could even fit two pages on a screen anyways, but why limit yourselves?
— Reply to this email directly or view it on GitHub https://github.com/twintechs/TwinTechsFormsLib/issues/9#issuecomment-121655821.
So I have a PageViewContainer and then I have underneath that a TabbedPage with children Pages. Unfortunately it wont show anything at all. I set a background color to the PageViewContainer and it shows that but none of the children TabbedPages. Is there something I need to do that is special or?
TabElement is my PageViewContainer.
Thanks!