Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

[iOS] Fix NRE in CarouselView without template #12784

Merged
merged 3 commits into from
Nov 12, 2020
Merged

[iOS] Fix NRE in CarouselView without template #12784

merged 3 commits into from
Nov 12, 2020

Conversation

jsuarezruiz
Copy link
Contributor

Description of Change

The problem was that using Loop, always tried to use a TemplatedCell.

Issues Resolved

API Changes

None

Platforms Affected

  • iOS

Behavioral/Visual Changes

None

Before/After Screenshots

Not applicable

Testing Procedure

Launch Core Gallery and navigate to the issue 12777. Without exceptions, the test has passed.

PR Checklist

  • Targets the correct branch
  • Tests are passing (or failures are unrelated)

@jsuarezruiz jsuarezruiz added t/bug 🐛 p/iOS 🍎 i/high Completely doesn't work, crashes, or is unusably slow, has no obvious workaround; occurs less often a/carouselview iOS 14 labels Nov 9, 2020
@rmarinho
Copy link
Member

rmarinho commented Nov 9, 2020

Can you add a UITest ?

Copy link
Member

@rmarinho rmarinho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, but we need to add a UITest :)

@jsuarezruiz
Copy link
Contributor Author

Added UITest.

Copy link
Member

@rmarinho rmarinho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good after tests

@rmarinho rmarinho merged commit e622481 into 5.0.0 Nov 12, 2020
@rmarinho rmarinho deleted the fix-12777 branch November 12, 2020 14:50
@samhouts samhouts added this to the 5.0.0 milestone Nov 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
a/carouselview a/collectionview i/high Completely doesn't work, crashes, or is unusably slow, has no obvious workaround; occurs less often iOS 14 p/iOS 🍎 t/bug 🐛
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] CarouselView NRE if item template is not specified
4 participants