Retain Scroll Position On List Reload

We need a mechanism to retain scroll position after returning from a detail view when data is reloaded from a service. The current implementation only works when the controller has the list data pre-defined in the scope.

See this sample where the controller reloads the data from a service instead of having embedded in controller.

Sample :

References :

2 thoughts on “Retain Scroll Position On List Reload

  1. How can this be implemented in ionic 2? I’d like my list to stay at the same even after the items have been loaded in the background.

Comments are closed.