title: Android Kotlin: Error when using 'suspend' in DAO - Following CodeLabs guide
body: <p>I have been following this guide by CodeLabs and on <a href="https://codelabs.developers.google.com/codelabs/android-room-with-a-view-kotlin/index.html?index=..%2F..index#4" rel="nofollow noreferrer">this section</a> it shows using the 'suspend' keyword in the DAO methods but when I do it I get this error:</p>
  
  <pre><code>error: To use Coroutine features, you must add `ktx` artifact from Room as a dependency. androidx.room:room-ktx:&lt;version&gt;
      public abstract java.lang.Object deleteAll(@org.jetbrains.annotations.NotNull()
      public abstract java.lang.Object insert(@org.jetbrains.annotations.NotNull()
                                       ^
  </code></pre>
  
  <p>I checked online but people are saying that you can't use coroutines in with DAO methods.</p>
  
  <p>I also added all the build.gradle imports that come before this step <a href="https://codelabs.developers.google.com/codelabs/android-room-with-a-view-kotlin/index.html?index=..%2F..index#2" rel="nofollow noreferrer">here</a>.</p>