Question: I have an observable that polls every 60 seconds. However, if user makes an action (i.e. success from another API call) in the component level I'd like to trigger that API call again but keep the polling going on. How can I achieve this?

This is what I have so far for the polling:

```
this.covidCases$ = timer(1, 60000).pipe(
      switchMap(() =>
        this.covidService.getCovidCases().pipe(
          map(data => {
            return data.cases;
          }),
        ),
      ),
      retry(),
      shareReplay(1),
    );

```

I then pass this observable to the component:

```
<case-list [covidCases]="covidCases$"></case-list>

```

Answer: 
Check if your project level build.gradle looks like this

```
buildscript {
repositories {
    google()
    jcenter()
    maven {url 'http://developer.huawei.com/repo/' }
}
dependencies {
    classpath 'com.android.tools.build:gradle:4.0.0'
    classpath 'com.huawei.agconnect:agcp:1.3.1.300'
    }
}
allprojects {
repositories {
    google()
    jcenter()
    maven {url 'http://developer.huawei.com/repo/' }
    }
}

```
Please make sure your network has no problems.