Closed QuestionerTN closed 2 months ago
I was able to resolve this issue myself. Thank you for your cooperation.
public void BindCell (int position, EditableListView listview, Activity context, Dictionary<Cell, AView> cache)
{
Cell = (Cell) listview.TemplatedItems[position];
AView cell;
if (cache.ContainsKey (Cell)) {
cell = cache[Cell];
} else {
//----- Update Start
// cell = CellFactory.GetCell (Cell, ItemView, parent, context, listview); // @@@ Exception!!
cell = Microsoft.Maui.Controls.Handlers.Compatibility.CellFactory.GetCell (Cell, ItemView, parent, context, listview);
//----- Update End
cache.Add (Cell, cell);
}
}
Closed.
Description
I have the following exception:
Steps to Reproduce
Call ListViewHolder.BindCell() in a class derived from EditableListView. The sample program is below:
Link to public reproduction project repository
none
Version with bug
8.0.3 GA
Is this a regression from previous behavior?
No, this is something new
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
Not version dependent
Did you find any workaround?
Unknown/Other
Relevant log output