This is the second part of Firebase Realtime Database tutorial series. In this tutorial video, you will learn everything that you need to know to get started with building an android UI app. We will build a simple contact list app that will have most of the features that we would need to build a modern UI app. You will learn many UI concepts in this tutorial series such as Navigation Component, RecyclerView, View Binding, Fragment Dialog, Floating Buttons and much more.
Add Dependency
dependencies {
def lifecycle_version = "2.3.0"
def nav_version = "2.3.4"
def recyclerview_version = "1.1.0"
def material_version = "1.4.0-alpha01"
// ViewModel
implementation "android.arch.lifecycle:extensions:$lifecycle_version"
// LiveData
implementation "androidx.lifecycle:lifecycle-livedata-ktx:$lifecycle_version"
// Navigation
implementation "androidx.navigation:navigation-fragment-ktx:$nav_version"
implementation "androidx.navigation:navigation-ui-ktx:$nav_version"
// recyclerview
implementation "androidx.recyclerview:recyclerview:$recyclerview_version"
// material
implementation "com.google.android.material:material:$material_version"
}
Kotlin Plugin
plugins {
// add view binding
id 'kotlin-kapt'
}
#firebase #database #android