Suspend function 'callGetApi' should be called only from a coroutine or another suspend function : <p>I am calling suspended function from onCreate(...)</p>

<pre><code>override fun onCreate(savedInstanceState: Bundle?) {
    ...
    ...
    callGetApi()
}
</code></pre>

<p>and the suspended function is:-</p>

<pre><code>suspend fun callGetApi() {....}
</code></pre>

<p>But the error shows up <em>Suspend function 'callGetApi' should be called only from a coroutine or another suspend function</em></p>
