0

Everything works as intended on web and ios but on an Android emulator these buttons do not display at all. Note that these buttons are dynamically created.

<button ion-button  (click)="function()" class="some-class" 
routerLink="/generic-routing" routerDirection="root" *ngFor="let food of 
foods | async" >
      <ion-label>
      {{food.data.FruitName}}<br>
      Temperature:<br>
      {{food.data.Temperature}}
      </ion-label>
</button>

anyone have any idea why this is happening on Android?

SOLVED: Android emulator not able to access the internet

win4win
  • 323
  • 6
  • 20
  • What ionic version are you using – Peter Haddad Feb 06 '20 at 22:25
  • 1
    any chance the foods source data is not being populated on the android emulator ? You can try displaying it on the view with {{foods | async }} just to see if it renders first ... – silvio Feb 07 '20 at 00:56
  • My Ionic CLI is 5.4.15. trying {{foods | async}} didn't work. Looking deeper into this I think because i am on my, my android emulator can't connect to the internet. – win4win Feb 07 '20 at 15:17

0 Answers0