I mainly followed this guide to implement the Observable data service.
In the store class ( ItemsStore), I have mine BehaviorSubjectthat contains a list of items
items:BehaviorSubject<List<Item>> = new BehaviorSubject(List([]));
The component uses this storage in the template as follows:
<ion-slide *ngFor="let item of itemStore.items | async" >
[...]
</ion-slide>
Now it works great when loading the application - all my elements are displayed. However, if I add the item to BehaviorSubject, using the following code in the store class:
this.items.next(this.item.getValue().push(newItem));
This is not reflected in the view. I got the impression that change processing is done automatically with angular2, but that doesn't seem to be the case.
How do I detect and process such changes so that they are reflected in the view?