Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MVVM #3

Open
wants to merge 2 commits into
base: firebase
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ android {
}
}

configurations.all() {
resolutionStrategy.force "org.antlr:antlr4-runtime:4.5.3"
resolutionStrategy.force "org.antlr:antlr4-tool:4.5.3"
}

defaultConfig {
applicationId "com.example.gotalk"
minSdkVersion 23
Expand Down Expand Up @@ -49,6 +54,13 @@ dependencies {
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'

// lifecycle
// implementation "android.arch.lifecycle:runtime:1.1.1"
// implementation "android.arch.lifecycle:extensions:1.1.1"
// implementation "android.arch.lifecycle:common-java8:1.1.1"
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.2.0"
implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.2.0'

// FireBase
implementation platform('com.google.firebase:firebase-bom:26.0.0')
implementation 'com.google.firebase:firebase-analytics-ktx'
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:name=".dagger.App"
android:name="com.example.gotalk.data.dagger.App"
android:theme="@style/AppTheme"
tools:ignore="AllowBackup">
<meta-data
android:name="com.facebook.sdk.ApplicationId"
android:value="@string/facebook_app_id" />

<activity android:name=".MainActivity">
<activity android:name=".view.MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

Expand Down
35 changes: 0 additions & 35 deletions app/src/main/java/com/example/gotalk/ChatAdapter.kt

This file was deleted.

80 changes: 0 additions & 80 deletions app/src/main/java/com/example/gotalk/ChatFragment.kt

This file was deleted.

104 changes: 0 additions & 104 deletions app/src/main/java/com/example/gotalk/DialogAdapter.kt

This file was deleted.

Loading