CollectionViewChallenge - Pokédex by Luis #44
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Screenshots
Pokédex running on Android
(Direct link in case the gif is not working: https://media.giphy.com/media/jnWNOb0Iv7e3YQwnfx/giphy.gif)
My entry for the CollectionView Challenge consists of a short version of a Pokédex which shows two small lists of items in horizontal layout each.
LiveStream
I streamed online on my YouTube Channel a basic, initial version of this Pokédex with several demos in order to test functionality of CollectionView, such as ScrollTo, Layouts (horizontal mode, GridItemsLayout with span, etc.), SelectionMode, and more.
Recording in English: https://www.youtube.com/watch?v=rrZrTOvFmvY
Recording in Spanish: https://www.youtube.com/watch?v=b4XdbSMucAA
What went well?
The transition from ListView to CollectionView was quite straightforward and smooth. There were no real issues when implementing it. ScrollTo is an amazing addition to the functionality. I am impressed by how easy is to implement a two-column set of items thanks to CollectionView.
What didn't go well?
I think there's a bug regarding ScrollTo and Vertical layouts for CollectionView. It makes the listview to blink and "dance" between two set of items. I implement it in the second video -Spanish-, you can actually see this behavior from 1:34:20 to 1:37:15. When switching the layout to horizontal view, it works as expected and scrolls to the specific item.
Did you run into any particular difficulties, and if so, what were the specific causes?
No real difficulties found. The documentation is very clear about how to implement CollectionView.
How is the performance?
During the live stream I loaded around 700 items with images and text and there wasn't any lag or performance issue, so I consider that the strategies behind this control are a turning point and truly represents what displaying a list of items means.
Missing or Desired Things:
Swag Time!
Take a minute now or later and provide your info here: https://www.surveymonkey.com/r/WKBZCXX