Skip to content

Commit 030a6ff

Browse files
author
mahdisahraei
committed
libraries were updated
1 parent 0f2113f commit 030a6ff

12 files changed

Lines changed: 38 additions & 31 deletions

File tree

.idea/compiler.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/gradle.xml

Lines changed: 2 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ android {
3737
}
3838

3939
compileOptions {
40-
sourceCompatibility JavaVersion.VERSION_1_8
41-
targetCompatibility JavaVersion.VERSION_1_8
40+
sourceCompatibility JavaVersion.VERSION_11
41+
targetCompatibility JavaVersion.VERSION_11
4242
}
4343
}
4444

app/src/main/AndroidManifest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44

55
<application
66
android:allowBackup="true"
7-
android:icon="@drawable/ic_launcher"
7+
android:icon="@drawable/icon_background"
88
android:label="@string/app_name"
9-
android:roundIcon="@drawable/ic_launcher"
9+
android:roundIcon="@drawable/icon_background"
1010
android:supportsRtl="true"
1111
android:theme="@style/Theme.RoomDatabase">
1212
<activity

app/src/main/java/com/mahdi/roomdatabase/Data/database/DatabaseNew.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import android.content.Context;
44
import androidx.room.Database;
5+
import androidx.room.Ignore;
56
import androidx.room.Room;
67
import androidx.room.RoomDatabase;
78
import com.mahdi.roomdatabase.Data.dao.ContactDAO;
@@ -15,6 +16,10 @@ public abstract class DatabaseNew extends RoomDatabase {
1516

1617
private static DatabaseNew database;
1718

19+
@Ignore
20+
public DatabaseNew() {
21+
}
22+
1823
public abstract ContactDAO contactDAO();
1924

2025
public synchronized static DatabaseNew getDatabase(Context context) {

app/src/main/res/drawable/icon.png

43.6 KB
Loading
29.2 KB
Loading
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<resources>
3+
<color name="icon_background_background">#3DDC84</color>
4+
</resources>

build.gradle

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,6 @@
1-
// Top-level build file where you can add configuration options common to all sub-projects/modules.
2-
buildscript {
3-
repositories {
4-
google()
5-
jcenter()
6-
}
7-
dependencies {
8-
classpath "com.android.tools.build:gradle:4.1.3"
9-
10-
// NOTE: Do not place your application dependencies here; they belong
11-
// in the individual module build.gradle files
12-
}
13-
}
14-
15-
allprojects {
16-
repositories {
17-
maven { url 'https://jitpack.io' }
18-
google()
19-
jcenter()
20-
}
1+
plugins {
2+
id 'com.android.application' version '7.2.1' apply false
3+
id 'com.android.library' version '7.2.1' apply false
214
}
225

236
task clean(type: Delete) {

0 commit comments

Comments
 (0)