A Basic RecyclerView Tutorial to help anyone get started with android development.
- Google Material Design
- Maven - Dependency Management
Add the following to build.gradle
:
repositories {
jcenter()
}
dependencies {
// Material Design Dependency
implementation 'com.google.android.material:material:1.2.0'
// RecyclerView dependency
implementation 'androidx.recyclerview:recyclerview:1.1.0'
}
Inside the android{ }
tag add:
android {
defaultConfig {
vectorDrawables.useSupportLibrary true
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}