-
-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Collection/Carousel-View, Shell #426
Comments
Noticed it as well. Also ShellContent doesn't work (it wants With this test, I also found that we may be able to simplify the nesting when using Shell. |
Shell needs some specific parts which I think we do not include but I need to check this before I can clearly say which. |
Shell is definitely too complicated to use today in Fabulous (when ignoring blocking bugs) |
That's right. It is the 'old' style - the way in 3.5. With 4.0 it is possible to make it a lot easier but this needs some changes in converting the viewparts. |
@SergejDK I'm currently trying to re-implement the Xanimals sample from Xamarin.Forms to iron out our implementation of Shell. |
@TimLariviere great thing! I think everyone will appreciate this. |
@TimLariviere do you have your effort for the Xanimals sample in a repo anywhere? |
@PureWeen Yes, here: https://github.com/TimLariviere/Fabulous/tree/xaminals It might not be easy to read the change log because I split Fabulous.Core into several projects for better extensibility in the future. Overall the sample is working for the most part. Still have to fix:
Once everything works as expected, I will refactor my changes and prepare it for a pull request. |
I'm having a hard time with Routing. For Fabulous, the page being navigated to needs to declared inside the main But Xamarin.Forms requires to declare routes ahead of time so it can creates the pages on the fly. |
@TimLariviere would resolving this issue help you? If we provided some additional places for Fabulous to hook into? |
@PureWeen Yes, that would be really helpful. |
@TimLariviere that sounds great!! I'm working on figuring out the best way for shell to compose and recompose itself so I'd really like to have something that plays cleanly with Fabulous. Kind of like a small version of the MVU loop :-) Something happens on shell -> you tell shell how you want it to change -> it changes I'd like for users to always be able to have an entry point, like the update function, where they can modify aspects of the shell like the look and the stack. I think by trying to make this work super well for Fabulous we can end up with some really useful things on the non fabulous side as well. If you ever want to chat over skype or anything about shell and where you're having issues let me know shneuvil at microsoft.com |
The issue for the problem with the ContentView in CollectionView and CarouselView: xamarin/Xamarin.Forms#6461. If we could replace the base class for the |
@PureWeen That's awesome! :)
@SergejDK What do you mean? Only |
@TimLariviere |
Yes, it works both on Android and iOS. |
@TimLariviere View.CollectionView(items= [
View.StackLayout( children = [
View.Label(text="Person 1")
])
View.Grid(children=[View.Button(text="ok")])
]) it renders all correct. Using a simple Element in the collectionview as Label or Button won't render it currently. Normally you would use a layout in the items because you have more elements and want to customize the layout. For |
@TimLariviere |
closed by #511 |
Not every of this control is working currently correctly.
Collection works fine for iOS but not Android.
Carousel seems to work on Android but not iOS.
Shell needs a Test.
It would be great if we could make this work.
The text was updated successfully, but these errors were encountered: