davidortinau / Xappy

A mobile app to track Xamarin news and explore all the goodness that is .NET for Mobile developers
MIT License
350 stars 106 forks source link

Technical reference #2

Open Depechie opened 5 years ago

Depechie commented 5 years ago

Although we currently don't have any coding reference, I would still already point out 2 technical feature requests. This only based on the Figma design proposel.

  1. Staggerd list

On the Blog page, there is a design that shows a staggered list. I love this design! Only concern would be, seeing this app can become a reference app in light of technical implementation for Xamarin Forms, that using a FlexLayout to solve this problem, would not make it Virtualized or have incremental loading. Hoping this can be addressed, because such a design would actually lend itself for long lists.

  1. Horizontal lists

On the UI Controls page, we see horizontal lists. If this is being rendered through use of the CollectionView I'm guessing the left margin shown on the page will always be there even while scrolling the list. I hope this would also be addressed, in that way that the left margin will disappear as soon as the list is being scrolled. So that items 'flow' of the left edge of the screen. https://github.com/roubachof/Sharpnado.Presentation.Forms#horizontallistview-and-grid-mode Sharpnado's horizontallistview has a CollectionPadding property to solve this.

davidortinau commented 5 years ago

Virtualization is definitely a consideration. I do think we should have incremental loading. That page may also have more than blogs, such as video content, presentations, live streams, or anything else newsworthy.

the left margin shown on the page will always be there

I hope not. I would expected to be able to set an inset/offset on the view. I plan to do a CollectionView challenge this week, so I'll find out then.

Those are fixed item lists with small sets of data, so I'm leaning towards ScrollViews with StackLayout and using BindableLayout.

Depechie commented 5 years ago

In the end, I think expanding CollectionView with these options would be awesome ;)