Trigger Infinite Scroll on view/manually

I’d like to trigger infinite scroll in following scenarios:

  1. When view gets first shown (to load first page of data)
  2. When list gets reset (to reload data/filter data)

Any idea how to do this? Sure, #1 could be done by manually trigger loading, but then I would need a dedicated loading icon for this special case. I think infinte scroll should somehow be able to handle this?

Have you had any success with this?

I need to trigger infinite scroll manually too. Not just show the spinner, but load the next set of items too.