How to use Observable variable in *ngFor
How to use Observable variable in *ngFor I am using rxjs in my nativescript-angular app. In my case, I realize a simple animation by setting StackLayout's top with an observable variable 'myTop$' . Following codes work well, and the "StackLayout" moves as expected : rxjs 'myTop$' "StackLayout" <AbsoluteLayout width="100%" height="100"> <StackLayout [top]="myTop$ | async" height="30" backgroundColor="#faebd7" width="100%" verticalAlignment="center"> <Label [text]="'abc'"></Label> <StackLayout class="hr-light"></StackLayout> </StackLayout> </AbsoluteLayout> public myTop$:Observable<Number> = interval(1000).pipe(map((animationIndex)=>{ return animationIndex%100; // top range 0->100 }),share()); However, when i put these codes in *ngFor for more animations, it see...