IT STILL DOES NOT WORK !!! :-/
Example 1: (see attachement "log file sample projekt.txt" and scroll down (old and new error logs are included))
For simpler reproduction just open my attached sample project from my answer on 4th. February and add "_gridCount = 10;" after line 76 (after "_contentLayout.AddView(addGrid);"). So that on start or everytime you click the button, the layout is cleaned up and 10 new grids are inflated.
Sometimes on the first click, sometimes on the second, third etc. you will notice the app will crash
Example 2: (see attachement "log file my app", it is the log of my application I am working with)
Context: I have list of items. Those items have all data for a grid.
Usage:
foreach(var item in items)
{
_contentLayout.AddView(CreateSFGrid(item))
}
It crashes everytime!
If I use
_contentLayout.AddView(CreateSFGrid(items[0]))
or
_contentLayout.AddView(CreateSFGrid(items[1]))
or
_contentLayout.AddView(CreateSFGrid(items[2]))
or
....
it works and a single grid is displayed. So there can't be a problem with the data in my items, since a single item of those can be displayed
Please let me know, when you reproduced Example1.
I am trying to create a sample project for Example2.
This was a very disappointing bugfix (actually it was no fix)
EDIT:
After uninstalling the SFGridTest app (first installation was before nuget update) and have a clean new install of the test app, it is much harder to reprocue the bug (just every 10th times i open the app and after clicking the button at least 10 times the app crashes).
Example 2 still occurs even after clean new install
Attachment:
exceptions_ffd13ee7.7z