Bug 42117 - Using RecycleElement Breaks Custom Renderer (Cell & List) for Separator Insets
Summary: Using RecycleElement Breaks Custom Renderer (Cell & List) for Separator Insets
Status: CONFIRMED
Alias: None
Product: Forms
Classification: Xamarin
Component: iOS ()
Version: 2.3.4
Hardware: Macintosh Mac OS
: Low normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2016-06-23 15:55 UTC by Douglas Kazumi
Modified: 2017-08-14 13:39 UTC (History)
7 users (show)

Tags: ac
Is this bug a regression?: ---
Last known good build:


Attachments
Sample project (31.93 KB, application/zip)
2016-06-23 15:55 UTC, Douglas Kazumi
Details
Issue screen shot (10.10 KB, image/png)
2016-06-24 17:24 UTC, Douglas Kazumi
Details
Sample project without caching (88.13 KB, application/x-rar)
2017-08-14 13:39 UTC, Márcio de Souza Júnior
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report for Bug 42117 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:
Status:
CONFIRMED

Description Douglas Kazumi 2016-06-23 15:55:07 UTC
Created attachment 16460 [details]
Sample project

I'm trying to create a list with a visible separator but without the default inset on iOS. I can easily implement that with custom renderers for ListView and ViewCell, but if I set the ListView to use the RecycleElement CachingStrategy, it stops working.

Please find attached a sample project.
Comment 1 Samantha Houts [MSFT] 2016-06-24 17:10:22 UTC

*** This bug has been marked as a duplicate of bug 39802 ***
Comment 2 Douglas Kazumi 2016-06-24 17:24:05 UTC
Created attachment 16484 [details]
Issue screen shot

Sorry if I wasn't clear on the description. I've added a screen shot to show what I was talking about.
Technically this is not a duplicate of the SeparatorVisibility bug.
Comment 3 Parmendra Kumar 2016-08-11 14:09:49 UTC
I have checked this issue and observed that this is a different issue from #39802, and this issue still exist with latest forms version 2.3.2-pre1.

Screencast: http://www.screencast.com/t/vxrm39ik5

ApplicationOutput: https://gist.github.com/Parmendrak/3b0d01fbd617b2a9453c896f957a2006

Hence reopened this issue.

Thanks.
Comment 4 James Montemagno [MSFT] 2017-06-16 15:43:08 UTC
Re-validated with sample against latest Xamarin.Forms and is valid. Changing the XAML to retain will adjust the inset where Recycle ignores it.

Sample is valid and good use case of it.
Comment 5 Márcio de Souza Júnior 2017-08-14 13:38:02 UTC
Issue stils exist in 2.3.5.256-pre6.

The sample project shows only "Welcome" for each item. If set the list to:

<ListView x:Name="list" />

The inset will show, even disabling caching or using custom renderers.

Uploading new testcase.
Comment 6 Márcio de Souza Júnior 2017-08-14 13:39:59 UTC
Created attachment 24181 [details]
Sample project without caching