CarouselViewChallenge icon indicating copy to clipboard operation
CarouselViewChallenge copied to clipboard

City Weather List

Open icebeam7 opened this issue 6 years ago • 0 comments

Submission description

This is a simple carousel which lists weather information from several cities.

demo

What went well

I wanted to test the compatibility of CarouselView with other plugins such as PancakeView and ImageCircle. The implementation was successful and pretty straightforward.

I was wondering how to scroll to an specific item when the elements were loaded into the list. First I did it with OnAppearing + Task.Delay, but after reading https://github.com/pauldipietro/CarouselViewChallenge/pull/30#issuecomment-535235422 I found out that there's a Position property, which is much better.

Moreover, https://github.com/pauldipietro/CarouselViewChallenge/pull/38#issuecomment-535242723 also put me in the right track to implement spacing between items, so thanks for ItemsSpacing.

What didn't go well

At the end of the animation you can see that I had to try harder to scroll to a previous item, it kinda bounced back (or is that the expected behavior of KeepScrollOffset for the ItemsUpdatingScrollMode property? Not really sure). I only tested it on emulator, but will try to implement it on a real device and will update this comment.

Missing or desired things

Does it exist a property for delaying a few seconds the transition between the first item and the one indicated by the Position property?

Anything else

I guess that's it for the moment, thank you for the opportunity that you give to the community for feedback.

Take out a survey for some goodies

Please visit this link to take a survey. If you provide your contact information, we'll send you some swag!

icebeam7 avatar Sep 26 '19 12:09 icebeam7