Добавить
Уведомления

Android App Development Tutorial for Beginners | Part 1 - Adding the Gradle Dependencies.

Hey guys, this is part 1 of this series of Android app development tutorials for beginners. In this video we are going to be adding all of the Gradle dependencies of - Jetpack navigation component - ViewModel & LiveData - Retrofit - Fragments - Kotlin Coroutines - Room - Gson - Lottie animations - swipe to refresh library - JUnit. Below are the Gradle Dependencies used for this projects: def fragment_version = "1.4.0" def lifecycle_version = "2.4.0" def lottieVersion = "3.4.0" def room_version = "2.3.0" // Android jetpack navigation implementation 'androidx.navigation:navigation-fragment-ktx:2.4.1' implementation 'androidx.navigation:navigation-ui-ktx:2.4.1' // fragments (kotlin) implementation("androidx.fragment:fragment-ktx:$fragment_version") // ViewModel & LiveData implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version" implementation "androidx.lifecycle:lifecycle-livedata-ktx:$lifecycle_version" implementation "androidx.lifecycle:lifecycle-viewmodel-savedstate:$lifecycle_version" implementation "androidx.lifecycle:lifecycle-common-java8:$lifecycle_version" implementation "androidx.lifecycle:lifecycle-runtime-ktx:$lifecycle_version" implementation "androidx.lifecycle:lifecycle-service:2.4.0" // kotlin coroutines implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.5.2") //Room implementation("androidx.room:room-runtime:$room_version") annotationProcessor("androidx.room:room-compiler:$room_version") // To use Kotlin annotation processing tool (kapt) annotationProcessor "androidx.room:room-compiler:$room_version" implementation "androidx.room:room-ktx:$room_version" // Retrofit implementation 'com.squareup.retrofit2:retrofit:2.9.0' implementation 'com.squareup.retrofit2:converter-gson:2.9.0' implementation 'com.squareup.retrofit2:converter-scalars:2.9.0' implementation 'com.squareup.okhttp3:okhttp:4.9.3' implementation("com.squareup.okhttp3:logging-interceptor:4.10.0") //gson implementation 'com.google.code.gson:gson:2.8.9' // swipe to refresh implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0' // lotie animations implementation "com.airbnb.android:lottie:$lottieVersion" // Enable Android View Binding. buildFeatures { viewBinding true }

12+
17 просмотров
2 года назад
12+
17 просмотров
2 года назад

Hey guys, this is part 1 of this series of Android app development tutorials for beginners. In this video we are going to be adding all of the Gradle dependencies of - Jetpack navigation component - ViewModel & LiveData - Retrofit - Fragments - Kotlin Coroutines - Room - Gson - Lottie animations - swipe to refresh library - JUnit. Below are the Gradle Dependencies used for this projects: def fragment_version = "1.4.0" def lifecycle_version = "2.4.0" def lottieVersion = "3.4.0" def room_version = "2.3.0" // Android jetpack navigation implementation 'androidx.navigation:navigation-fragment-ktx:2.4.1' implementation 'androidx.navigation:navigation-ui-ktx:2.4.1' // fragments (kotlin) implementation("androidx.fragment:fragment-ktx:$fragment_version") // ViewModel & LiveData implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version" implementation "androidx.lifecycle:lifecycle-livedata-ktx:$lifecycle_version" implementation "androidx.lifecycle:lifecycle-viewmodel-savedstate:$lifecycle_version" implementation "androidx.lifecycle:lifecycle-common-java8:$lifecycle_version" implementation "androidx.lifecycle:lifecycle-runtime-ktx:$lifecycle_version" implementation "androidx.lifecycle:lifecycle-service:2.4.0" // kotlin coroutines implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.5.2") //Room implementation("androidx.room:room-runtime:$room_version") annotationProcessor("androidx.room:room-compiler:$room_version") // To use Kotlin annotation processing tool (kapt) annotationProcessor "androidx.room:room-compiler:$room_version" implementation "androidx.room:room-ktx:$room_version" // Retrofit implementation 'com.squareup.retrofit2:retrofit:2.9.0' implementation 'com.squareup.retrofit2:converter-gson:2.9.0' implementation 'com.squareup.retrofit2:converter-scalars:2.9.0' implementation 'com.squareup.okhttp3:okhttp:4.9.3' implementation("com.squareup.okhttp3:logging-interceptor:4.10.0") //gson implementation 'com.google.code.gson:gson:2.8.9' // swipe to refresh implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0' // lotie animations implementation "com.airbnb.android:lottie:$lottieVersion" // Enable Android View Binding. buildFeatures { viewBinding true }

, чтобы оставлять комментарии