Skip to content

Commit

Permalink
Applied MVVM pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasKiljanczykDev committed Jul 13, 2021
1 parent f4d87b0 commit 65e765c
Show file tree
Hide file tree
Showing 19 changed files with 593 additions and 418 deletions.
16 changes: 8 additions & 8 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -38,26 +38,26 @@ dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar', '*.aar'])
implementation project(':detector')

implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.3'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.5.0'

implementation "androidx.camera:camera-camera2:1.0.0"
implementation "androidx.camera:camera-lifecycle:1.0.0"
implementation "androidx.camera:camera-view:1.0.0-alpha24"
implementation "androidx.camera:camera-view:1.0.0-alpha26"

implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'androidx.appcompat:appcompat:1.3.0'
implementation 'androidx.coordinatorlayout:coordinatorlayout:1.1.0'
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.3.1'
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.3.1'
implementation 'androidx.activity:activity-ktx:1.2.3'

implementation 'com.google.android.material:material:1.3.0'
implementation 'com.google.code.gson:gson:2.8.6'
implementation 'com.google.android.material:material:1.4.0'
implementation 'com.google.code.gson:gson:2.8.7'

// Uncomment if you want to enable memory leak detection
// debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.7'

androidTestImplementation 'androidx.test.ext:junit:1.1.2'
// testImplementation "androidx.test:runner:1.3.0"
// testImplementation "androidx.test.ext:junit:1.1.2"
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'com.google.truth:truth:1.1.2'

}
4 changes: 2 additions & 2 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
tools:ignore="LockedOrientationActivity">

<activity
android:name="org.tensorflow.lite.examples.detector.activities.DetectorActivity"
android:name="org.tensorflow.lite.examples.detector.ui.detector.DetectorActivity"
android:label="@string/tfe_od_app_name"
android:screenOrientation="portrait" />

<activity
android:name=".activities.MainActivity"
android:name=".ui.main.MainActivity"
android:screenOrientation="portrait">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
Expand Down

This file was deleted.

Loading

0 comments on commit 65e765c

Please sign in to comment.