implementation 정리

pnlkc·2022년 5월 31일
0
post-thumbnail
post-custom-banner

Fragment

implementation 'androidx.fragment:fragment-ktx:1.4.1'

ViewModel, LiveData

implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.0-beta01'
implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.5.0-beta01'

아래 두개는 viewModel 초기화 때 by viewModels 사용하려면 필요

implementation 'androidx.fragment:fragment-ktx:1.4.1'
implementation 'androidx.activity:activity-ktx:1.4.0'

JetPack의 Navigation

implementation 'androidx.navigation:navigation-fragment-ktx:2.4.2'
implementation 'androidx.navigation:navigation-ui-ktx:2.4.2'

코루틴(coroutine)

implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.1'

Room

plugins에 id 'kotlin-kapt' 추가 해야 됨

def room_version = "2.4.2"
implementation "androidx.room:room-runtime:$room_version"
kapt "androidx.room:room-compiler:$room_version"

파이어베이스

buildscript {
    dependencies {
        classpath 'com.google.gms:google-services:4.3.10'
    }
}
// Firebase
implementation platform('com.google.firebase:firebase-bom:29.0.0')
implementation 'com.google.firebase:firebase-analytics-ktx'
// Firebase Auth 로그인 기능
implementation 'com.firebaseui:firebase-ui-auth:7.2.0'
implementation 'com.google.firebase:firebase-auth-ktx'
//firebase Firestore
implementation 'com.google.firebase:firebase-firestore-ktx'
implementation 'com.google.firebase:firebase-firestore-ktx:24.1.1'
// 파이어스토리지
implementation 'com.google.firebase:firebase-storage-ktx:20.0.1'

Glide

implementation 'com.github.bumptech.glide:glide:4.13.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.13.0'

Preferences Datastore

implementation "androidx.datastore:datastore-preferences:1.0.0"
profile
안드로이드 개발 공부 블로그
post-custom-banner

0개의 댓글