Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fixed problem with ListView in ios when CustomTemplate is used. #277

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

Merged
nsndeck merged 1 commit into master from nnikolov/ListViewCustomTemplateFix
Jun 7, 2016

Conversation

@nsndeck
Copy link
Contributor

@nsndeck nsndeck commented Jun 7, 2016

When custom template is used in angular ListView, a ProxyViewContainer, from custom template, is silently wrapped in a StackLayout which results in an incorrect view to store related angular EmbeddedView reference.

hdeshev and vakrilov reacted with thumbs up emoji
<ListView [items]="myItems" (itemTap)="onItemTap($event)">
<template let-item="item" let-i="index" let-odd="odd" let-even="even">
<StackLayout [class.odd]="odd" [class.even]="even">
<!--<StackLayout [class.odd]="odd" [class.even]="even">
Copy link
Contributor

@hdeshev hdeshev Jun 7, 2016

Choose a reason for hiding this comment

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

Consider deleting the commented out portion of the template.

@nsndeck nsndeck force-pushed the nnikolov/ListViewCustomTemplateFix branch from 15034e8 to b5732a5 Compare June 7, 2016 11:57
@nsndeck nsndeck merged commit ab3ff84 into master Jun 7, 2016
@nsndeck nsndeck deleted the nnikolov/ListViewCustomTemplateFix branch June 7, 2016 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /