I'm using Xamarin forms PCL and deploying on android.
I have a listview that when has no results displays the string "Nothing to show" as a unique item of the list.
When this is done I also deactivate the items separation line because if I don't I have a silver grey line under the unique item.
Then, when I have results I reactivate the items separation line.
BUT ! When reactivating the line not all items have it !
For instance it can look like this :
item1
------------
item2
item3
-----------
item4
----------
item5
item6
As you can see there is no separator between item 2-3 and 5-6 for no reason at all.
All elements are added in a for loop. They are all strings.
The bug is random and can be between any items.
To show the separators I do :
myList.SeparatorVisibility = SeparatorVisibility.Default;
And to hide them :
myList.SeparatorVisibility = SeparatorVisibility.None;
Is this a bug on my end or from Xamarin forms ?
Any idears of how to fix this ?