I am developing an Android app using Xamarin.Forms v220.127.116.118975 and SyncFusion v18.104.22.168. It implements MVVM using FreshMVVM v2.2.4.
I was designing a settings page which used a TableView and decided I wanted to add an SfCombobox which is not supported by TableView, so I added a SfTabView so I could have a tabbed page with non-TableView compatible views on it. However I find that although space is allocated within the containing StackLayout, the SfCombobox is not showing.
After having spent a significant part of my day playing around with it and not getting anywhere, I decided I needed to post here and so spent further time developing a simple application to demonstrate the problem. I found that when the SfCombobox was the only content in the SfTabItem that a) The combo appeared in the Xamarin.Forms Previewer ok b) The combox appeared ok in my application at runtime.
Since my real applicaiton needed more controls on the same page, I then changed the SfTabItem to contain a StackLayout (also tried a Grid), which then contained my SfCombobox as well as a couple of labels. I then found that a) The SfCombobox no longer displayed in the previewer (liveable with but annoying - any idea why?) b) The combo did still show at runtime. So this app to demonstrate the problem, did not.
So I then created an alternate version of the application using FreshMVVM as per my real application. I then find a) It also does not display in the previewer b) It no longer displays at runtime. So it would seem the inclusion of using FreshMVVM is affecting my use of the combo within the SfTabView. As I understand it, when using FreshMVVM the page model is created, then the page, and the two are bound, as opposed to the page being created first when not using FreshMVVM.
I have attached this application that demonstrates my problem to this thread. Are you able to confirm you see the same effects, and are you able to either identify any bugs (my code or yours), or suggest any workarounds?
As it is, it look like I will have to resort to using a Picker rather than my preferred SfCombobox, but I don't like the amount of screen space this take sup when picking.