File tree Expand file tree Collapse file tree 4 files changed +5
-4
lines changed
src/main/java/de/raphaelebner/roomdatabasebackup/sample Expand file tree Collapse file tree 4 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 77[ ![ API] ( https://img.shields.io/badge/API-21%2B-brightgreen.svg?style=flat )] ( https://android-arsenal.com/api?level=21 )
88![ Language] ( https://img.shields.io/badge/language-Kotlin-orange.svg )
99[ ![ PRWelcome] ( https://img.shields.io/badge/PRs-welcome-brightgreen.svg )] ( https://github.com/rafi0101/Android-Room-Database-Backup/pulls )
10+ [ ![ License] ( https://img.shields.io/badge/license-MIT-blue.svg )] ( https://github.com/rafi0101/Android-Room-Database-Backu/blob/master/LICENSE )
1011
1112<div align =" center " >
1213 <sub >Built with ❤︎ by
Original file line number Diff line number Diff line change @@ -84,6 +84,6 @@ dependencies {
8484 implementation ' androidx.recyclerview:recyclerview:1.2.1'
8585
8686 // Material Design Implementation
87- implementation ' com.google.android.material:material:1.6.1 '
87+ implementation ' com.google.android.material:material:1.7.0 '
8888
8989}
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ class ActivityAddEditFruit : AppCompatActivity() {
8383 deleteFruit = true
8484 saveFruit()
8585 } else {
86- super .onBackPressed()
86+ onBackPressedDispatcher .onBackPressed()
8787 }
8888 }
8989
@@ -128,7 +128,7 @@ class ActivityAddEditFruit : AppCompatActivity() {
128128 }
129129 // Back Button
130130 android.R .id.home -> {
131- super .onBackPressed()
131+ onBackPressedDispatcher .onBackPressed()
132132 true
133133
134134 }
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ buildscript {
66 mavenCentral()
77 }
88 dependencies {
9- classpath ' com.android.tools.build:gradle:7.3.0 '
9+ classpath ' com.android.tools.build:gradle:7.3.1 '
1010 classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
1111
1212 // NOTE: Do not place your application dependencies here; they belong
You can’t perform that action at this time.
0 commit comments