NativeScript / sample-Groceries

:green_apple: :pineapple: :strawberry: A NativeScript-built iOS and Android app for managing grocery lists
Apache License 2.0
485 stars 345 forks source link

loading the ListView items on component ngAfterViewInit event #309

Closed tsonevn closed 6 years ago

tsonevn commented 6 years ago

Loading the ListView items on the component's ngAfterViewInit event. If the load method is called on ListView's loaded event, the items will be duplicated when we suspend and resume the app.

tjvantoll commented 6 years ago

Looks good. Thanks @tsonevn!