title: RecyclerView, LiveData, Lifecycle dependencies
body: <p>Hello kind people of the internet.</p>
  <p>My name is Paul.</p>
  <p>I've started to learn Android development using Kotlin, lately I've been following a couple of tutorials regarding RecyclerView, LiveData and Lifecycle.</p>
  <p>At first I honestly forgot to declare the dependencies inside my gradle script.
  But I have discovered that the functionality actually works as expected.</p>
  <p>Can somebody please explain to me this phenomenon:</p>
  <ul>
  <li>is it because Android Studio &quot;saw&quot; my imports and automatically &quot;defined&quot; and downloaded the dependencies ?</li>
  <li>is it because of the compileSdk version?</li>
  </ul>
  <p>Here is a sample of my dependencies block from one of my projects</p>
  <pre><code>dependencies {
  
      implementation 'androidx.core:core-ktx:1.7.0'
      implementation 'androidx.appcompat:appcompat:1.4.1'
      implementation 'com.google.android.material:material:1.5.0'
      implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
      testImplementation 'junit:junit:4.13.2'
      androidTestImplementation 'androidx.test.ext:junit:1.1.3'
      androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
  }
  </code></pre>
  <p>Also here is my config</p>
  <pre><code>defaultConfig {
          applicationId &quot;com.example.myrecycler&quot;
          minSdk 23
          targetSdk 32
          versionCode 1
          versionName &quot;1.0&quot;
  
          testInstrumentationRunner &quot;androidx.test.runner.AndroidJUnitRunner&quot;
      }
  </code></pre>
  <p>Thank you!</p>