3 writes to _adapter
Microsoft.Maui.Controls.Compatibility (3)
Android\Renderers\ListViewRenderer.cs (3)
92
_adapter
= null;
151
_adapter
= null;
180
nativeListView.Adapter =
_adapter
= e.NewElement.IsGroupingEnabled && e.NewElement.OnThisPlatform().IsFastScrollEnabled() ? new GroupedListViewAdapter(Context, nativeListView, e.NewElement) : new ListViewAdapter(Context, nativeListView, e.NewElement);
13 references to _adapter
Microsoft.Maui.Controls.Compatibility (13)
Android\Renderers\ListViewRenderer.cs (13)
89
if (
_adapter
!= null)
91
_adapter
.Dispose();
115
_adapter
.IsAttachedToWindow = _isAttached;
124
_adapter
.IsAttachedToWindow = _isAttached;
148
if (
_adapter
!= null)
150
_adapter
.Dispose();
181
_adapter
.HeaderView = _headerView;
182
_adapter
.FooterView = _footerView;
183
_adapter
.IsAttachedToWindow = _isAttached;
209
_adapter
.OnItemClick(Control, viewCell, position, id);
225
_adapter
.OnItemLongClick(Control, viewCell, position, id);
243
_adapter
.NotifyDataSetChanged();
330
AView view =
_adapter
.GetView(scrollPosition, null, null);