HBSequence / Sequence.Plugins

A library of MvvmCross/Xamarin Plugins and sample applications
26 stars 12 forks source link

Refreshing not reloading more items #16

Open c-lamont opened 6 years ago

c-lamont commented 6 years ago

Trying to implement pull to refresh on a list. I have cleared the list of items but LoadMoreItemsAsync is never called after this.

c-lamont commented 6 years ago

Reason is that the _lastViewedPosition in the IncrementalTableViewSource is not being reset to 0.

c-lamont commented 6 years ago

We implemented this in the the adapter

 ```

[MvxSetToNullAfterBinding] public override IEnumerable ItemsSource { get { return base.ItemsSource; } set { base.ItemsSource = value; _lastCount = 0; } }