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/' }
    }
}

```
You can check if your AS can connect to huawei maven repo using proxy or not. Then you can know if it is the proxy that blocked you from linking to Huawei maven repo.You can disable the proxy and delete the **gradle.properties** file under **.gradle** directory. Then Sync again.
[Android Studio Check connection screenshots](https://i.stack.imgur.com/8w1SA.png)