Skip to content

Commit af307ed

Browse files
committed
Init
0 parents  commit af307ed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+1195
-0
lines changed

.gitignore

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
*.iml
2+
.gradle
3+
/local.properties
4+
/.idea/caches
5+
/.idea/libraries
6+
/.idea/modules.xml
7+
/.idea/workspace.xml
8+
/.idea/navEditor.xml
9+
/.idea/assetWizardSettings.xml
10+
.DS_Store
11+
/build
12+
/captures
13+
.externalNativeBuild
14+
.cxx

.idea/.name

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/codeStyles/Project.xml

+127
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/codeStyles/codeStyleConfig.xml

+5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/gradle.xml

+20
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

+9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations.xml

+12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/build

app/build.gradle

+86
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
apply plugin: 'com.android.application'
2+
apply plugin: 'kotlin-android'
3+
apply plugin: 'androidx.navigation.safeargs'
4+
apply plugin: 'kotlin-kapt'
5+
6+
android {
7+
compileSdkVersion 29
8+
buildToolsVersion "29.0.3"
9+
10+
defaultConfig {
11+
applicationId "com.hoc081098.firestore_coroutinesflow"
12+
minSdkVersion 23
13+
targetSdkVersion 29
14+
versionCode 1
15+
versionName "1.0"
16+
17+
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
18+
}
19+
20+
buildTypes {
21+
release {
22+
minifyEnabled false
23+
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
24+
}
25+
}
26+
27+
compileOptions {
28+
sourceCompatibility = 1.8
29+
targetCompatibility = 1.8
30+
}
31+
32+
kotlinOptions {
33+
jvmTarget = "1.8"
34+
}
35+
36+
viewBinding {
37+
enabled = true
38+
}
39+
}
40+
41+
dependencies {
42+
implementation fileTree(dir: 'libs', include: ['*.jar'])
43+
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
44+
45+
implementation 'androidx.appcompat:appcompat:1.2.0-beta01'
46+
implementation 'androidx.core:core-ktx:1.3.0-rc01'
47+
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
48+
implementation 'androidx.recyclerview:recyclerview:1.2.0-alpha03'
49+
implementation 'com.google.android.material:material:1.2.0-alpha06'
50+
51+
// viewModelScope
52+
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.3.0-alpha02'
53+
54+
// lifecycleScope
55+
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.3.0-alpha02'
56+
57+
// Extensions for LiveData
58+
implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.3.0-alpha02'
59+
60+
// coroutines
61+
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.5'
62+
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.5'
63+
64+
// koin
65+
implementation 'org.koin:koin-androidx-viewmodel:2.1.5'
66+
67+
testImplementation 'junit:junit:4.13'
68+
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
69+
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
70+
71+
// Glide
72+
def glide_version = '4.11.0'
73+
implementation "com.github.bumptech.glide:glide:$glide_version"
74+
kapt "com.github.bumptech.glide:compiler:$glide_version"
75+
implementation("com.github.bumptech.glide:okhttp3-integration:$glide_version") {
76+
exclude group: 'glide-parent'
77+
}
78+
79+
// Nav
80+
implementation 'androidx.navigation:navigation-fragment-ktx:2.3.0-alpha06'
81+
implementation 'androidx.navigation:navigation-ui-ktx:2.3.0-alpha06'
82+
83+
implementation 'com.google.firebase:firebase-firestore:21.4.3'
84+
}
85+
86+
apply plugin: 'com.google.gms.google-services'

0 commit comments

Comments
 (0)