diff --git a/01.SQLite-Single-Table-CRUD/app/build.gradle b/01.SQLite-Single-Table-CRUD/app/build.gradle index 2b098dc..5ec2207 100644 --- a/01.SQLite-Single-Table-CRUD/app/build.gradle +++ b/01.SQLite-Single-Table-CRUD/app/build.gradle @@ -1,15 +1,14 @@ apply plugin: 'com.android.application' android { - compileSdkVersion 27 - buildToolsVersion '27.0.3' + compileSdkVersion 28 defaultConfig { applicationId "com.hellohasan.sqlite_project" minSdkVersion 15 - targetSdkVersion 27 + targetSdkVersion 28 versionCode 1 versionName "1.0" - testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" + testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } buildTypes { release { @@ -21,15 +20,15 @@ android { dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) - androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', { + androidTestImplementation('androidx.test.espresso:espresso-core:3.1.0', { exclude group: 'com.android.support', module: 'support-annotations' }) - implementation 'com.android.support:appcompat-v7:27.1.1' - implementation 'com.android.support.constraint:constraint-layout:1.1.2' - implementation 'com.android.support:design:27.1.1' - implementation 'com.android.support:support-v4:27.1.1' + implementation 'androidx.appcompat:appcompat:1.1.0' + implementation 'androidx.constraintlayout:constraintlayout:1.1.3' + implementation 'com.google.android.material:material:1.0.0' + implementation 'androidx.legacy:legacy-support-v4:1.0.0' implementation 'com.orhanobut:logger:2.2.0' - implementation 'com.android.support:cardview-v7:27.1.1' - implementation 'com.android.support:recyclerview-v7:27.1.1' + implementation 'androidx.cardview:cardview:1.0.0' + implementation 'androidx.recyclerview:recyclerview:1.0.0' testImplementation 'junit:junit:4.12' } diff --git a/01.SQLite-Single-Table-CRUD/app/src/androidTest/java/com/hellohasan/sqlite_project/ExampleInstrumentedTest.java b/01.SQLite-Single-Table-CRUD/app/src/androidTest/java/com/hellohasan/sqlite_project/ExampleInstrumentedTest.java index 5cd0563..1298a67 100644 --- a/01.SQLite-Single-Table-CRUD/app/src/androidTest/java/com/hellohasan/sqlite_project/ExampleInstrumentedTest.java +++ b/01.SQLite-Single-Table-CRUD/app/src/androidTest/java/com/hellohasan/sqlite_project/ExampleInstrumentedTest.java @@ -1,8 +1,8 @@ package com.hellohasan.sqlite_project; import android.content.Context; -import android.support.test.InstrumentationRegistry; -import android.support.test.runner.AndroidJUnit4; +import androidx.test.platform.app.InstrumentationRegistry; +import androidx.test.ext.junit.runners.AndroidJUnit4; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/01.SQLite-Single-Table-CRUD/app/src/main/java/com/hellohasan/sqlite_project/Features/CreateStudent/StudentCreateDialogFragment.java b/01.SQLite-Single-Table-CRUD/app/src/main/java/com/hellohasan/sqlite_project/Features/CreateStudent/StudentCreateDialogFragment.java index 0af194c..548b42d 100644 --- a/01.SQLite-Single-Table-CRUD/app/src/main/java/com/hellohasan/sqlite_project/Features/CreateStudent/StudentCreateDialogFragment.java +++ b/01.SQLite-Single-Table-CRUD/app/src/main/java/com/hellohasan/sqlite_project/Features/CreateStudent/StudentCreateDialogFragment.java @@ -2,7 +2,7 @@ import android.app.Dialog; import android.os.Bundle; -import android.support.v4.app.DialogFragment; +import androidx.fragment.app.DialogFragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; diff --git a/01.SQLite-Single-Table-CRUD/app/src/main/java/com/hellohasan/sqlite_project/Features/ShowStudentList/CustomViewHolder.java b/01.SQLite-Single-Table-CRUD/app/src/main/java/com/hellohasan/sqlite_project/Features/ShowStudentList/CustomViewHolder.java index b788800..2136a1c 100644 --- a/01.SQLite-Single-Table-CRUD/app/src/main/java/com/hellohasan/sqlite_project/Features/ShowStudentList/CustomViewHolder.java +++ b/01.SQLite-Single-Table-CRUD/app/src/main/java/com/hellohasan/sqlite_project/Features/ShowStudentList/CustomViewHolder.java @@ -1,6 +1,6 @@ package com.hellohasan.sqlite_project.Features.ShowStudentList; -import android.support.v7.widget.RecyclerView; +import androidx.recyclerview.widget.RecyclerView; import android.view.View; import android.widget.ImageView; import android.widget.TextView; diff --git a/01.SQLite-Single-Table-CRUD/app/src/main/java/com/hellohasan/sqlite_project/Features/ShowStudentList/StudentListActivity.java b/01.SQLite-Single-Table-CRUD/app/src/main/java/com/hellohasan/sqlite_project/Features/ShowStudentList/StudentListActivity.java index fd7b604..d589600 100644 --- a/01.SQLite-Single-Table-CRUD/app/src/main/java/com/hellohasan/sqlite_project/Features/ShowStudentList/StudentListActivity.java +++ b/01.SQLite-Single-Table-CRUD/app/src/main/java/com/hellohasan/sqlite_project/Features/ShowStudentList/StudentListActivity.java @@ -2,12 +2,12 @@ import android.content.DialogInterface; import android.os.Bundle; -import android.support.design.widget.FloatingActionButton; -import android.support.v7.app.AlertDialog; -import android.support.v7.app.AppCompatActivity; -import android.support.v7.widget.LinearLayoutManager; -import android.support.v7.widget.RecyclerView; -import android.support.v7.widget.Toolbar; +import com.google.android.material.floatingactionbutton.FloatingActionButton; +import androidx.appcompat.app.AlertDialog; +import androidx.appcompat.app.AppCompatActivity; +import androidx.recyclerview.widget.LinearLayoutManager; +import androidx.recyclerview.widget.RecyclerView; +import androidx.appcompat.widget.Toolbar; import android.view.Menu; import android.view.MenuInflater; import android.view.MenuItem; diff --git a/01.SQLite-Single-Table-CRUD/app/src/main/java/com/hellohasan/sqlite_project/Features/ShowStudentList/StudentListRecyclerViewAdapter.java b/01.SQLite-Single-Table-CRUD/app/src/main/java/com/hellohasan/sqlite_project/Features/ShowStudentList/StudentListRecyclerViewAdapter.java index 4ae2172..8b03116 100644 --- a/01.SQLite-Single-Table-CRUD/app/src/main/java/com/hellohasan/sqlite_project/Features/ShowStudentList/StudentListRecyclerViewAdapter.java +++ b/01.SQLite-Single-Table-CRUD/app/src/main/java/com/hellohasan/sqlite_project/Features/ShowStudentList/StudentListRecyclerViewAdapter.java @@ -2,8 +2,8 @@ import android.content.Context; import android.content.DialogInterface; -import android.support.v7.app.AlertDialog; -import android.support.v7.widget.RecyclerView; +import androidx.appcompat.app.AlertDialog; +import androidx.recyclerview.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; diff --git a/01.SQLite-Single-Table-CRUD/app/src/main/java/com/hellohasan/sqlite_project/Features/UpdateStudentInfo/StudentUpdateDialogFragment.java b/01.SQLite-Single-Table-CRUD/app/src/main/java/com/hellohasan/sqlite_project/Features/UpdateStudentInfo/StudentUpdateDialogFragment.java index d3cca1f..e6b1221 100644 --- a/01.SQLite-Single-Table-CRUD/app/src/main/java/com/hellohasan/sqlite_project/Features/UpdateStudentInfo/StudentUpdateDialogFragment.java +++ b/01.SQLite-Single-Table-CRUD/app/src/main/java/com/hellohasan/sqlite_project/Features/UpdateStudentInfo/StudentUpdateDialogFragment.java @@ -2,7 +2,7 @@ import android.app.Dialog; import android.os.Bundle; -import android.support.v4.app.DialogFragment; +import androidx.fragment.app.DialogFragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; diff --git a/01.SQLite-Single-Table-CRUD/app/src/main/res/layout/activity_student_list.xml b/01.SQLite-Single-Table-CRUD/app/src/main/res/layout/activity_student_list.xml index 57f811c..f81b844 100644 --- a/01.SQLite-Single-Table-CRUD/app/src/main/res/layout/activity_student_list.xml +++ b/01.SQLite-Single-Table-CRUD/app/src/main/res/layout/activity_student_list.xml @@ -1,5 +1,5 @@ - - - - + - - + diff --git a/01.SQLite-Single-Table-CRUD/app/src/main/res/layout/content_main.xml b/01.SQLite-Single-Table-CRUD/app/src/main/res/layout/content_main.xml index 5a6f13e..e11dd51 100644 --- a/01.SQLite-Single-Table-CRUD/app/src/main/res/layout/content_main.xml +++ b/01.SQLite-Single-Table-CRUD/app/src/main/res/layout/content_main.xml @@ -1,5 +1,5 @@ - - - + - + diff --git a/01.SQLite-Single-Table-CRUD/app/src/main/res/layout/fragment_student_create_dialog.xml b/01.SQLite-Single-Table-CRUD/app/src/main/res/layout/fragment_student_create_dialog.xml index cc9b4dd..1be5775 100644 --- a/01.SQLite-Single-Table-CRUD/app/src/main/res/layout/fragment_student_create_dialog.xml +++ b/01.SQLite-Single-Table-CRUD/app/src/main/res/layout/fragment_student_create_dialog.xml @@ -1,4 +1,4 @@ - - + diff --git a/01.SQLite-Single-Table-CRUD/app/src/main/res/layout/fragment_student_update_dialog.xml b/01.SQLite-Single-Table-CRUD/app/src/main/res/layout/fragment_student_update_dialog.xml index 794a8db..bf5ceb8 100644 --- a/01.SQLite-Single-Table-CRUD/app/src/main/res/layout/fragment_student_update_dialog.xml +++ b/01.SQLite-Single-Table-CRUD/app/src/main/res/layout/fragment_student_update_dialog.xml @@ -1,4 +1,4 @@ - - + diff --git a/01.SQLite-Single-Table-CRUD/app/src/main/res/layout/student_info.xml b/01.SQLite-Single-Table-CRUD/app/src/main/res/layout/student_info.xml index 00d157a..8e2ad1d 100644 --- a/01.SQLite-Single-Table-CRUD/app/src/main/res/layout/student_info.xml +++ b/01.SQLite-Single-Table-CRUD/app/src/main/res/layout/student_info.xml @@ -1,5 +1,5 @@ - - \ No newline at end of file + \ No newline at end of file diff --git a/01.SQLite-Single-Table-CRUD/app/src/main/res/layout/student_item.xml b/01.SQLite-Single-Table-CRUD/app/src/main/res/layout/student_item.xml index 5e6b876..391bf45 100644 --- a/01.SQLite-Single-Table-CRUD/app/src/main/res/layout/student_item.xml +++ b/01.SQLite-Single-Table-CRUD/app/src/main/res/layout/student_item.xml @@ -1,5 +1,5 @@ - - \ No newline at end of file + \ No newline at end of file diff --git a/01.SQLite-Single-Table-CRUD/build.gradle b/01.SQLite-Single-Table-CRUD/build.gradle index ad6a928..3117577 100644 --- a/01.SQLite-Single-Table-CRUD/build.gradle +++ b/01.SQLite-Single-Table-CRUD/build.gradle @@ -6,7 +6,7 @@ buildscript { google() } dependencies { - classpath 'com.android.tools.build:gradle:3.1.3' + classpath 'com.android.tools.build:gradle:3.5.1' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files diff --git a/01.SQLite-Single-Table-CRUD/gradle.properties b/01.SQLite-Single-Table-CRUD/gradle.properties index aac7c9b..9e6fce1 100644 --- a/01.SQLite-Single-Table-CRUD/gradle.properties +++ b/01.SQLite-Single-Table-CRUD/gradle.properties @@ -9,6 +9,8 @@ # Specifies the JVM arguments used for the daemon process. # The setting is particularly useful for tweaking memory settings. +android.enableJetifier=true +android.useAndroidX=true org.gradle.jvmargs=-Xmx1536m # When configured, Gradle will run in incubating parallel mode. diff --git a/01.SQLite-Single-Table-CRUD/gradle/wrapper/gradle-wrapper.properties b/01.SQLite-Single-Table-CRUD/gradle/wrapper/gradle-wrapper.properties index 278830f..0b70111 100644 --- a/01.SQLite-Single-Table-CRUD/gradle/wrapper/gradle-wrapper.properties +++ b/01.SQLite-Single-Table-CRUD/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ -#Wed Jun 27 16:11:27 BDT 2018 +#Thu Oct 31 11:10:54 BDT 2019 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip diff --git a/02.SQLite-Multiple-(Two)-Tables-CRUD/app/build.gradle b/02.SQLite-Multiple-(Two)-Tables-CRUD/app/build.gradle index 87149c1..ea1cc0d 100644 --- a/02.SQLite-Multiple-(Two)-Tables-CRUD/app/build.gradle +++ b/02.SQLite-Multiple-(Two)-Tables-CRUD/app/build.gradle @@ -1,15 +1,14 @@ apply plugin: 'com.android.application' android { - compileSdkVersion 26 - buildToolsVersion '27.0.3' + compileSdkVersion 28 defaultConfig { applicationId "com.hellohasan.sqlite_project" - minSdkVersion 15 - targetSdkVersion 26 + minSdkVersion 19 + targetSdkVersion 28 versionCode 1 versionName "1.0" - testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" + testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" vectorDrawables.useSupportLibrary = true } buildTypes { @@ -22,15 +21,15 @@ android { dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) - androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', { + androidTestImplementation('androidx.test.espresso:espresso-core:3.1.0', { exclude group: 'com.android.support', module: 'support-annotations' }) - implementation 'com.android.support:appcompat-v7:26.1.0' - implementation 'com.android.support.constraint:constraint-layout:1.0.2' - implementation 'com.android.support:design:26.1.0' - implementation 'com.android.support:support-v4:26.1.0' - implementation 'com.orhanobut:logger:2.1.1' - implementation 'com.android.support:cardview-v7:26.1.0' - implementation 'com.android.support:recyclerview-v7:26.1.0' + implementation 'androidx.appcompat:appcompat:1.1.0' + implementation 'androidx.constraintlayout:constraintlayout:1.1.3' + implementation 'com.google.android.material:material:1.0.0' + implementation 'androidx.legacy:legacy-support-v4:1.0.0' + implementation 'com.orhanobut:logger:2.2.0' + implementation 'androidx.cardview:cardview:1.0.0' + implementation 'androidx.recyclerview:recyclerview:1.0.0' testImplementation 'junit:junit:4.12' } diff --git a/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/androidTest/java/com/hellohasan/sqlite_project/ExampleInstrumentedTest.java b/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/androidTest/java/com/hellohasan/sqlite_project/ExampleInstrumentedTest.java index 5cd0563..1298a67 100644 --- a/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/androidTest/java/com/hellohasan/sqlite_project/ExampleInstrumentedTest.java +++ b/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/androidTest/java/com/hellohasan/sqlite_project/ExampleInstrumentedTest.java @@ -1,8 +1,8 @@ package com.hellohasan.sqlite_project; import android.content.Context; -import android.support.test.InstrumentationRegistry; -import android.support.test.runner.AndroidJUnit4; +import androidx.test.platform.app.InstrumentationRegistry; +import androidx.test.ext.junit.runners.AndroidJUnit4; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_project/Features/StudentCRUD/CreateStudent/StudentCreateDialogFragment.java b/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_project/Features/StudentCRUD/CreateStudent/StudentCreateDialogFragment.java index fbe42ec..5a4cd3a 100644 --- a/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_project/Features/StudentCRUD/CreateStudent/StudentCreateDialogFragment.java +++ b/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_project/Features/StudentCRUD/CreateStudent/StudentCreateDialogFragment.java @@ -2,7 +2,7 @@ import android.app.Dialog; import android.os.Bundle; -import android.support.v4.app.DialogFragment; +import androidx.fragment.app.DialogFragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; diff --git a/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_project/Features/StudentCRUD/ShowStudentList/CustomViewHolder.java b/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_project/Features/StudentCRUD/ShowStudentList/CustomViewHolder.java index 04723d1..f143236 100644 --- a/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_project/Features/StudentCRUD/ShowStudentList/CustomViewHolder.java +++ b/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_project/Features/StudentCRUD/ShowStudentList/CustomViewHolder.java @@ -1,6 +1,6 @@ package com.hellohasan.sqlite_project.Features.StudentCRUD.ShowStudentList; -import android.support.v7.widget.RecyclerView; +import androidx.recyclerview.widget.RecyclerView; import android.view.View; import android.widget.ImageView; import android.widget.TextView; diff --git a/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_project/Features/StudentCRUD/ShowStudentList/StudentListActivity.java b/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_project/Features/StudentCRUD/ShowStudentList/StudentListActivity.java index 4844721..bed33d8 100644 --- a/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_project/Features/StudentCRUD/ShowStudentList/StudentListActivity.java +++ b/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_project/Features/StudentCRUD/ShowStudentList/StudentListActivity.java @@ -2,12 +2,12 @@ import android.content.DialogInterface; import android.os.Bundle; -import android.support.design.widget.FloatingActionButton; -import android.support.v7.app.AlertDialog; -import android.support.v7.app.AppCompatActivity; -import android.support.v7.widget.LinearLayoutManager; -import android.support.v7.widget.RecyclerView; -import android.support.v7.widget.Toolbar; +import com.google.android.material.floatingactionbutton.FloatingActionButton; +import androidx.appcompat.app.AlertDialog; +import androidx.appcompat.app.AppCompatActivity; +import androidx.recyclerview.widget.LinearLayoutManager; +import androidx.recyclerview.widget.RecyclerView; +import androidx.appcompat.widget.Toolbar; import android.view.Menu; import android.view.MenuInflater; import android.view.MenuItem; diff --git a/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_project/Features/StudentCRUD/ShowStudentList/StudentListRecyclerViewAdapter.java b/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_project/Features/StudentCRUD/ShowStudentList/StudentListRecyclerViewAdapter.java index 7195301..85db12d 100644 --- a/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_project/Features/StudentCRUD/ShowStudentList/StudentListRecyclerViewAdapter.java +++ b/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_project/Features/StudentCRUD/ShowStudentList/StudentListRecyclerViewAdapter.java @@ -3,8 +3,8 @@ import android.content.Context; import android.content.DialogInterface; import android.content.Intent; -import android.support.v7.app.AlertDialog; -import android.support.v7.widget.RecyclerView; +import androidx.appcompat.app.AlertDialog; +import androidx.recyclerview.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; diff --git a/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_project/Features/StudentCRUD/UpdateStudentInfo/StudentUpdateDialogFragment.java b/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_project/Features/StudentCRUD/UpdateStudentInfo/StudentUpdateDialogFragment.java index 6783244..629e112 100644 --- a/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_project/Features/StudentCRUD/UpdateStudentInfo/StudentUpdateDialogFragment.java +++ b/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_project/Features/StudentCRUD/UpdateStudentInfo/StudentUpdateDialogFragment.java @@ -2,7 +2,7 @@ import android.app.Dialog; import android.os.Bundle; -import android.support.v4.app.DialogFragment; +import androidx.fragment.app.DialogFragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; diff --git a/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_project/Features/SubjectCRUD/CreateSubject/SubjectCreateDialogFragment.java b/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_project/Features/SubjectCRUD/CreateSubject/SubjectCreateDialogFragment.java index 3ebd172..7a6c8b9 100644 --- a/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_project/Features/SubjectCRUD/CreateSubject/SubjectCreateDialogFragment.java +++ b/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_project/Features/SubjectCRUD/CreateSubject/SubjectCreateDialogFragment.java @@ -3,7 +3,7 @@ import android.app.Dialog; import android.os.Bundle; -import android.support.v4.app.DialogFragment; +import androidx.fragment.app.DialogFragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; diff --git a/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_project/Features/SubjectCRUD/ShowSubjectList/CustomViewHolder.java b/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_project/Features/SubjectCRUD/ShowSubjectList/CustomViewHolder.java index 09a2ae9..616e4c1 100644 --- a/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_project/Features/SubjectCRUD/ShowSubjectList/CustomViewHolder.java +++ b/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_project/Features/SubjectCRUD/ShowSubjectList/CustomViewHolder.java @@ -1,6 +1,6 @@ package com.hellohasan.sqlite_project.Features.SubjectCRUD.ShowSubjectList; -import android.support.v7.widget.RecyclerView; +import androidx.recyclerview.widget.RecyclerView; import android.view.View; import android.widget.ImageView; import android.widget.TextView; diff --git a/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_project/Features/SubjectCRUD/ShowSubjectList/SubjectListActivity.java b/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_project/Features/SubjectCRUD/ShowSubjectList/SubjectListActivity.java index d95f3b2..f020145 100644 --- a/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_project/Features/SubjectCRUD/ShowSubjectList/SubjectListActivity.java +++ b/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_project/Features/SubjectCRUD/ShowSubjectList/SubjectListActivity.java @@ -2,12 +2,12 @@ import android.content.DialogInterface; import android.os.Bundle; -import android.support.design.widget.FloatingActionButton; -import android.support.v7.app.AlertDialog; -import android.support.v7.app.AppCompatActivity; -import android.support.v7.widget.LinearLayoutManager; -import android.support.v7.widget.RecyclerView; -import android.support.v7.widget.Toolbar; +import com.google.android.material.floatingactionbutton.FloatingActionButton; +import androidx.appcompat.app.AlertDialog; +import androidx.appcompat.app.AppCompatActivity; +import androidx.recyclerview.widget.LinearLayoutManager; +import androidx.recyclerview.widget.RecyclerView; +import androidx.appcompat.widget.Toolbar; import android.view.Menu; import android.view.MenuInflater; import android.view.MenuItem; diff --git a/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_project/Features/SubjectCRUD/ShowSubjectList/SubjectListRecyclerViewAdapter.java b/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_project/Features/SubjectCRUD/ShowSubjectList/SubjectListRecyclerViewAdapter.java index f58c3fd..4dcd499 100644 --- a/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_project/Features/SubjectCRUD/ShowSubjectList/SubjectListRecyclerViewAdapter.java +++ b/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_project/Features/SubjectCRUD/ShowSubjectList/SubjectListRecyclerViewAdapter.java @@ -2,8 +2,8 @@ import android.content.Context; import android.content.DialogInterface; -import android.support.v7.app.AlertDialog; -import android.support.v7.widget.RecyclerView; +import androidx.appcompat.app.AlertDialog; +import androidx.recyclerview.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; diff --git a/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_project/Features/SubjectCRUD/UpdateSubjectInfo/SubjectUpdateDialogFragment.java b/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_project/Features/SubjectCRUD/UpdateSubjectInfo/SubjectUpdateDialogFragment.java index 12c443c..10c2d56 100644 --- a/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_project/Features/SubjectCRUD/UpdateSubjectInfo/SubjectUpdateDialogFragment.java +++ b/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_project/Features/SubjectCRUD/UpdateSubjectInfo/SubjectUpdateDialogFragment.java @@ -3,7 +3,7 @@ import android.app.Dialog; import android.os.Bundle; -import android.support.v4.app.DialogFragment; +import androidx.fragment.app.DialogFragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; @@ -43,7 +43,7 @@ public static SubjectUpdateDialogFragment newInstance(long subId, int pos, Subje args.putString("title", "Update subject information"); subjectUpdateDialogFragment.setArguments(args); - subjectUpdateDialogFragment.setStyle(android.support.v4.app.DialogFragment.STYLE_NORMAL, R.style.CustomDialog); + subjectUpdateDialogFragment.setStyle(DialogFragment.STYLE_NORMAL, R.style.CustomDialog); return subjectUpdateDialogFragment; } diff --git a/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/res/layout/activity_student_list.xml b/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/res/layout/activity_student_list.xml index 2f610b8..2767472 100644 --- a/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/res/layout/activity_student_list.xml +++ b/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/res/layout/activity_student_list.xml @@ -1,5 +1,5 @@ - - - - + - - + diff --git a/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/res/layout/activity_subject_list.xml b/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/res/layout/activity_subject_list.xml index 1d5ee66..7b966d8 100644 --- a/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/res/layout/activity_subject_list.xml +++ b/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/res/layout/activity_subject_list.xml @@ -1,17 +1,17 @@ - - - - + - - + diff --git a/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/res/layout/content_main.xml b/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/res/layout/content_main.xml index e3b7e55..529cfa8 100644 --- a/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/res/layout/content_main.xml +++ b/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/res/layout/content_main.xml @@ -1,5 +1,5 @@ - - - + - + diff --git a/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/res/layout/fragment_student_create_dialog.xml b/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/res/layout/fragment_student_create_dialog.xml index 38308a7..fe2b670 100644 --- a/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/res/layout/fragment_student_create_dialog.xml +++ b/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/res/layout/fragment_student_create_dialog.xml @@ -1,4 +1,4 @@ - - + diff --git a/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/res/layout/fragment_student_update_dialog.xml b/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/res/layout/fragment_student_update_dialog.xml index 3212736..752882a 100644 --- a/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/res/layout/fragment_student_update_dialog.xml +++ b/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/res/layout/fragment_student_update_dialog.xml @@ -1,4 +1,4 @@ - - + diff --git a/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/res/layout/fragment_subject_create_dialog.xml b/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/res/layout/fragment_subject_create_dialog.xml index 11c03c0..e42c75a 100644 --- a/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/res/layout/fragment_subject_create_dialog.xml +++ b/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/res/layout/fragment_subject_create_dialog.xml @@ -1,4 +1,4 @@ - - + diff --git a/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/res/layout/fragment_subject_update_dialog.xml b/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/res/layout/fragment_subject_update_dialog.xml index 2d7ecea..ad070b5 100644 --- a/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/res/layout/fragment_subject_update_dialog.xml +++ b/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/res/layout/fragment_subject_update_dialog.xml @@ -1,4 +1,4 @@ - - + diff --git a/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/res/layout/item_student.xml b/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/res/layout/item_student.xml index 5e6b876..391bf45 100644 --- a/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/res/layout/item_student.xml +++ b/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/res/layout/item_student.xml @@ -1,5 +1,5 @@ - - \ No newline at end of file + \ No newline at end of file diff --git a/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/res/layout/item_subject.xml b/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/res/layout/item_subject.xml index f3b8ab6..e4ab88a 100644 --- a/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/res/layout/item_subject.xml +++ b/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/res/layout/item_subject.xml @@ -1,5 +1,5 @@ - @@ -83,4 +83,4 @@ android:layout_marginStart="4dp" android:layout_marginLeft="4dp"/> - \ No newline at end of file + \ No newline at end of file diff --git a/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/res/layout/student_info.xml b/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/res/layout/student_info.xml index d25b90e..243cd15 100644 --- a/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/res/layout/student_info.xml +++ b/02.SQLite-Multiple-(Two)-Tables-CRUD/app/src/main/res/layout/student_info.xml @@ -1,5 +1,5 @@ - - \ No newline at end of file + \ No newline at end of file diff --git a/02.SQLite-Multiple-(Two)-Tables-CRUD/build.gradle b/02.SQLite-Multiple-(Two)-Tables-CRUD/build.gradle index ad6a928..3117577 100644 --- a/02.SQLite-Multiple-(Two)-Tables-CRUD/build.gradle +++ b/02.SQLite-Multiple-(Two)-Tables-CRUD/build.gradle @@ -6,7 +6,7 @@ buildscript { google() } dependencies { - classpath 'com.android.tools.build:gradle:3.1.3' + classpath 'com.android.tools.build:gradle:3.5.1' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files diff --git a/02.SQLite-Multiple-(Two)-Tables-CRUD/gradle.properties b/02.SQLite-Multiple-(Two)-Tables-CRUD/gradle.properties index aac7c9b..9e6fce1 100644 --- a/02.SQLite-Multiple-(Two)-Tables-CRUD/gradle.properties +++ b/02.SQLite-Multiple-(Two)-Tables-CRUD/gradle.properties @@ -9,6 +9,8 @@ # Specifies the JVM arguments used for the daemon process. # The setting is particularly useful for tweaking memory settings. +android.enableJetifier=true +android.useAndroidX=true org.gradle.jvmargs=-Xmx1536m # When configured, Gradle will run in incubating parallel mode. diff --git a/02.SQLite-Multiple-(Two)-Tables-CRUD/gradle/wrapper/gradle-wrapper.properties b/02.SQLite-Multiple-(Two)-Tables-CRUD/gradle/wrapper/gradle-wrapper.properties index a3f0bf2..3435c93 100644 --- a/02.SQLite-Multiple-(Two)-Tables-CRUD/gradle/wrapper/gradle-wrapper.properties +++ b/02.SQLite-Multiple-(Two)-Tables-CRUD/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ -#Wed Jun 06 14:10:58 BDT 2018 +#Thu Oct 31 11:21:27 BDT 2019 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip diff --git a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/build.gradle b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/build.gradle index 26cc8b4..8f74054 100644 --- a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/build.gradle +++ b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/build.gradle @@ -1,14 +1,14 @@ apply plugin: 'com.android.application' android { - compileSdkVersion 27 + compileSdkVersion 28 defaultConfig { applicationId "com.hellohasan.sqlite_multiple_three_tables_crud" - minSdkVersion 17 - targetSdkVersion 27 + minSdkVersion 19 + targetSdkVersion 28 versionCode 1 versionName "1.0" - testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" + testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" vectorDrawables.useSupportLibrary = true } buildTypes { @@ -21,13 +21,13 @@ android { dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) - implementation 'com.android.support:appcompat-v7:27.1.1' - implementation 'com.android.support.constraint:constraint-layout:1.1.0' - implementation 'com.android.support:design:27.1.1' - implementation 'com.android.support:cardview-v7:27.1.1' - implementation 'com.android.support:recyclerview-v7:27.1.1' + implementation 'androidx.appcompat:appcompat:1.1.0' + implementation 'androidx.constraintlayout:constraintlayout:1.1.3' + implementation 'com.google.android.material:material:1.0.0' + implementation 'androidx.cardview:cardview:1.0.0' + implementation 'androidx.recyclerview:recyclerview:1.0.0' testImplementation 'junit:junit:4.12' - androidTestImplementation 'com.android.support.test:runner:1.0.2' - androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' + androidTestImplementation 'androidx.test.ext:junit:1.1.1' + androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0' implementation 'com.orhanobut:logger:2.2.0' } diff --git a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/androidTest/java/com/hellohasan/sqlite_multiple_three_tables_crud/ExampleInstrumentedTest.java b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/androidTest/java/com/hellohasan/sqlite_multiple_three_tables_crud/ExampleInstrumentedTest.java index b1dc055..5df2f5c 100644 --- a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/androidTest/java/com/hellohasan/sqlite_multiple_three_tables_crud/ExampleInstrumentedTest.java +++ b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/androidTest/java/com/hellohasan/sqlite_multiple_three_tables_crud/ExampleInstrumentedTest.java @@ -1,8 +1,8 @@ package com.hellohasan.sqlite_multiple_three_tables_crud; import android.content.Context; -import android.support.test.InstrumentationRegistry; -import android.support.test.runner.AndroidJUnit4; +import androidx.test.platform.app.InstrumentationRegistry; +import androidx.test.ext.junit.runners.AndroidJUnit4; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_multiple_three_tables_crud/features/student_crud/student_create/StudentCreateDialogFragment.java b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_multiple_three_tables_crud/features/student_crud/student_create/StudentCreateDialogFragment.java index 0acb74d..18e12c3 100644 --- a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_multiple_three_tables_crud/features/student_crud/student_create/StudentCreateDialogFragment.java +++ b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_multiple_three_tables_crud/features/student_crud/student_create/StudentCreateDialogFragment.java @@ -2,7 +2,7 @@ import android.app.Dialog; import android.os.Bundle; -import android.support.v4.app.DialogFragment; +import androidx.fragment.app.DialogFragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; diff --git a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_multiple_three_tables_crud/features/student_crud/student_list_show/StudentListActivity.java b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_multiple_three_tables_crud/features/student_crud/student_list_show/StudentListActivity.java index f96e049..d1c16cc 100644 --- a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_multiple_three_tables_crud/features/student_crud/student_list_show/StudentListActivity.java +++ b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_multiple_three_tables_crud/features/student_crud/student_list_show/StudentListActivity.java @@ -2,11 +2,11 @@ import android.content.Intent; import android.os.Bundle; -import android.support.design.widget.FloatingActionButton; -import android.support.v7.app.AppCompatActivity; -import android.support.v7.widget.LinearLayoutManager; -import android.support.v7.widget.RecyclerView; -import android.support.v7.widget.Toolbar; +import com.google.android.material.floatingactionbutton.FloatingActionButton; +import androidx.appcompat.app.AppCompatActivity; +import androidx.recyclerview.widget.LinearLayoutManager; +import androidx.recyclerview.widget.RecyclerView; +import androidx.appcompat.widget.Toolbar; import android.view.View; import android.view.Menu; import android.view.MenuItem; diff --git a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_multiple_three_tables_crud/features/student_crud/student_list_show/StudentListAdapter.java b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_multiple_three_tables_crud/features/student_crud/student_list_show/StudentListAdapter.java index 0dc1ab7..06a063e 100644 --- a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_multiple_three_tables_crud/features/student_crud/student_list_show/StudentListAdapter.java +++ b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_multiple_three_tables_crud/features/student_crud/student_list_show/StudentListAdapter.java @@ -3,9 +3,9 @@ import android.content.Context; import android.content.DialogInterface; import android.content.Intent; -import android.support.annotation.NonNull; -import android.support.v7.app.AlertDialog; -import android.support.v7.widget.RecyclerView; +import androidx.annotation.NonNull; +import androidx.appcompat.app.AlertDialog; +import androidx.recyclerview.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; diff --git a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_multiple_three_tables_crud/features/student_crud/student_list_show/StudentViewHolder.java b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_multiple_three_tables_crud/features/student_crud/student_list_show/StudentViewHolder.java index dc88110..4265918 100644 --- a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_multiple_three_tables_crud/features/student_crud/student_list_show/StudentViewHolder.java +++ b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_multiple_three_tables_crud/features/student_crud/student_list_show/StudentViewHolder.java @@ -1,6 +1,6 @@ package com.hellohasan.sqlite_multiple_three_tables_crud.features.student_crud.student_list_show; -import android.support.v7.widget.RecyclerView; +import androidx.recyclerview.widget.RecyclerView; import android.view.View; import android.widget.ImageView; import android.widget.TextView; diff --git a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_multiple_three_tables_crud/features/student_crud/student_update/StudentUpdateDialogFragment.java b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_multiple_three_tables_crud/features/student_crud/student_update/StudentUpdateDialogFragment.java index 0c71a5b..c823884 100644 --- a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_multiple_three_tables_crud/features/student_crud/student_update/StudentUpdateDialogFragment.java +++ b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_multiple_three_tables_crud/features/student_crud/student_update/StudentUpdateDialogFragment.java @@ -2,7 +2,7 @@ import android.app.Dialog; import android.os.Bundle; -import android.support.v4.app.DialogFragment; +import androidx.fragment.app.DialogFragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; diff --git a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_multiple_three_tables_crud/features/subject_crud/subject_create/SubjectCreateDialogFragment.java b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_multiple_three_tables_crud/features/subject_crud/subject_create/SubjectCreateDialogFragment.java index b42c15b..8d8bd3a 100644 --- a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_multiple_three_tables_crud/features/subject_crud/subject_create/SubjectCreateDialogFragment.java +++ b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_multiple_three_tables_crud/features/subject_crud/subject_create/SubjectCreateDialogFragment.java @@ -1,9 +1,9 @@ package com.hellohasan.sqlite_multiple_three_tables_crud.features.subject_crud.subject_create; import android.app.Dialog; -import android.support.v4.app.DialogFragment; +import androidx.fragment.app.DialogFragment; import android.os.Bundle; -import android.support.annotation.Nullable; +import androidx.annotation.Nullable; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; @@ -37,7 +37,7 @@ public static SubjectCreateDialogFragment newInstance(String title, SubjectCrudL args.putString("title", title); subjectCreateDialogFragment.setArguments(args); - subjectCreateDialogFragment.setStyle(android.support.v4.app.DialogFragment.STYLE_NORMAL, R.style.CustomDialog); + subjectCreateDialogFragment.setStyle(DialogFragment.STYLE_NORMAL, R.style.CustomDialog); return subjectCreateDialogFragment; } diff --git a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_multiple_three_tables_crud/features/subject_crud/subject_list_show/SubjectListActivity.java b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_multiple_three_tables_crud/features/subject_crud/subject_list_show/SubjectListActivity.java index f286d05..02f63a2 100644 --- a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_multiple_three_tables_crud/features/subject_crud/subject_list_show/SubjectListActivity.java +++ b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_multiple_three_tables_crud/features/subject_crud/subject_list_show/SubjectListActivity.java @@ -1,11 +1,11 @@ package com.hellohasan.sqlite_multiple_three_tables_crud.features.subject_crud.subject_list_show; import android.os.Bundle; -import android.support.design.widget.FloatingActionButton; -import android.support.v7.app.AppCompatActivity; -import android.support.v7.widget.LinearLayoutManager; -import android.support.v7.widget.RecyclerView; -import android.support.v7.widget.Toolbar; +import com.google.android.material.floatingactionbutton.FloatingActionButton; +import androidx.appcompat.app.AppCompatActivity; +import androidx.recyclerview.widget.LinearLayoutManager; +import androidx.recyclerview.widget.RecyclerView; +import androidx.appcompat.widget.Toolbar; import android.view.View; import android.widget.TextView; diff --git a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_multiple_three_tables_crud/features/subject_crud/subject_list_show/SubjectListAdapter.java b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_multiple_three_tables_crud/features/subject_crud/subject_list_show/SubjectListAdapter.java index 653cc36..365c3f3 100644 --- a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_multiple_three_tables_crud/features/subject_crud/subject_list_show/SubjectListAdapter.java +++ b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_multiple_three_tables_crud/features/subject_crud/subject_list_show/SubjectListAdapter.java @@ -2,9 +2,9 @@ import android.content.Context; import android.content.DialogInterface; -import android.support.annotation.NonNull; -import android.support.v7.app.AlertDialog; -import android.support.v7.widget.RecyclerView; +import androidx.annotation.NonNull; +import androidx.appcompat.app.AlertDialog; +import androidx.recyclerview.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; diff --git a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_multiple_three_tables_crud/features/subject_crud/subject_list_show/SubjectViewHolder.java b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_multiple_three_tables_crud/features/subject_crud/subject_list_show/SubjectViewHolder.java index 5b14692..7933cb1 100644 --- a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_multiple_three_tables_crud/features/subject_crud/subject_list_show/SubjectViewHolder.java +++ b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_multiple_three_tables_crud/features/subject_crud/subject_list_show/SubjectViewHolder.java @@ -1,6 +1,6 @@ package com.hellohasan.sqlite_multiple_three_tables_crud.features.subject_crud.subject_list_show; -import android.support.v7.widget.RecyclerView; +import androidx.recyclerview.widget.RecyclerView; import android.view.View; import android.widget.ImageView; import android.widget.TextView; diff --git a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_multiple_three_tables_crud/features/subject_crud/subject_update/SubjectUpdateDialogFragment.java b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_multiple_three_tables_crud/features/subject_crud/subject_update/SubjectUpdateDialogFragment.java index 2eba43e..fe1dafc 100644 --- a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_multiple_three_tables_crud/features/subject_crud/subject_update/SubjectUpdateDialogFragment.java +++ b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_multiple_three_tables_crud/features/subject_crud/subject_update/SubjectUpdateDialogFragment.java @@ -2,7 +2,7 @@ import android.app.Dialog; import android.os.Bundle; -import android.support.v4.app.DialogFragment; +import androidx.fragment.app.DialogFragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; diff --git a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_multiple_three_tables_crud/features/taken_subject_crud/subject_assign/SubjectAssignActivity.java b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_multiple_three_tables_crud/features/taken_subject_crud/subject_assign/SubjectAssignActivity.java index 9adaea5..b1bfe27 100644 --- a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_multiple_three_tables_crud/features/taken_subject_crud/subject_assign/SubjectAssignActivity.java +++ b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_multiple_three_tables_crud/features/taken_subject_crud/subject_assign/SubjectAssignActivity.java @@ -1,9 +1,9 @@ package com.hellohasan.sqlite_multiple_three_tables_crud.features.taken_subject_crud.subject_assign; -import android.support.v7.app.AppCompatActivity; +import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; -import android.support.v7.widget.LinearLayoutManager; -import android.support.v7.widget.RecyclerView; +import androidx.recyclerview.widget.LinearLayoutManager; +import androidx.recyclerview.widget.RecyclerView; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; diff --git a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_multiple_three_tables_crud/features/taken_subject_crud/subject_assign/SubjectAssignListAdapter.java b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_multiple_three_tables_crud/features/taken_subject_crud/subject_assign/SubjectAssignListAdapter.java index 25a9343..dfe5076 100644 --- a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_multiple_three_tables_crud/features/taken_subject_crud/subject_assign/SubjectAssignListAdapter.java +++ b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_multiple_three_tables_crud/features/taken_subject_crud/subject_assign/SubjectAssignListAdapter.java @@ -1,8 +1,8 @@ package com.hellohasan.sqlite_multiple_three_tables_crud.features.taken_subject_crud.subject_assign; import android.content.Context; -import android.support.annotation.NonNull; -import android.support.v7.widget.RecyclerView; +import androidx.annotation.NonNull; +import androidx.recyclerview.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; diff --git a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_multiple_three_tables_crud/features/taken_subject_crud/subject_assign/SubjectAssignViewHolder.java b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_multiple_three_tables_crud/features/taken_subject_crud/subject_assign/SubjectAssignViewHolder.java index d4c94f6..679254a 100644 --- a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_multiple_three_tables_crud/features/taken_subject_crud/subject_assign/SubjectAssignViewHolder.java +++ b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_multiple_three_tables_crud/features/taken_subject_crud/subject_assign/SubjectAssignViewHolder.java @@ -1,6 +1,6 @@ package com.hellohasan.sqlite_multiple_three_tables_crud.features.taken_subject_crud.subject_assign; -import android.support.v7.widget.RecyclerView; +import androidx.recyclerview.widget.RecyclerView; import android.view.View; import android.widget.CheckBox; import android.widget.TextView; diff --git a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_multiple_three_tables_crud/features/taken_subject_crud/taken_subject_show/StudentTakenSubjectActivity.java b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_multiple_three_tables_crud/features/taken_subject_crud/taken_subject_show/StudentTakenSubjectActivity.java index 4511887..5bb5ad5 100644 --- a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_multiple_three_tables_crud/features/taken_subject_crud/taken_subject_show/StudentTakenSubjectActivity.java +++ b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_multiple_three_tables_crud/features/taken_subject_crud/taken_subject_show/StudentTakenSubjectActivity.java @@ -1,10 +1,10 @@ package com.hellohasan.sqlite_multiple_three_tables_crud.features.taken_subject_crud.taken_subject_show; import android.content.Intent; -import android.support.v7.app.AppCompatActivity; +import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; -import android.support.v7.widget.LinearLayoutManager; -import android.support.v7.widget.RecyclerView; +import androidx.recyclerview.widget.LinearLayoutManager; +import androidx.recyclerview.widget.RecyclerView; import android.view.View; import android.widget.ImageView; import android.widget.TextView; diff --git a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_multiple_three_tables_crud/features/taken_subject_crud/taken_subject_show/TakenSubjectListAdapter.java b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_multiple_three_tables_crud/features/taken_subject_crud/taken_subject_show/TakenSubjectListAdapter.java index 4cb312f..ebd10c0 100644 --- a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_multiple_three_tables_crud/features/taken_subject_crud/taken_subject_show/TakenSubjectListAdapter.java +++ b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_multiple_three_tables_crud/features/taken_subject_crud/taken_subject_show/TakenSubjectListAdapter.java @@ -1,8 +1,8 @@ package com.hellohasan.sqlite_multiple_three_tables_crud.features.taken_subject_crud.taken_subject_show; import android.content.Context; -import android.support.annotation.NonNull; -import android.support.v7.widget.RecyclerView; +import androidx.annotation.NonNull; +import androidx.recyclerview.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; diff --git a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_multiple_three_tables_crud/features/taken_subject_crud/taken_subject_show/TakenSubjectViewHolder.java b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_multiple_three_tables_crud/features/taken_subject_crud/taken_subject_show/TakenSubjectViewHolder.java index d3bebd9..c5434af 100644 --- a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_multiple_three_tables_crud/features/taken_subject_crud/taken_subject_show/TakenSubjectViewHolder.java +++ b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/java/com/hellohasan/sqlite_multiple_three_tables_crud/features/taken_subject_crud/taken_subject_show/TakenSubjectViewHolder.java @@ -1,6 +1,6 @@ package com.hellohasan.sqlite_multiple_three_tables_crud.features.taken_subject_crud.taken_subject_show; -import android.support.v7.widget.RecyclerView; +import androidx.recyclerview.widget.RecyclerView; import android.view.View; import android.widget.ImageView; import android.widget.TextView; diff --git a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/activity_student_list.xml b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/activity_student_list.xml index b3c332f..5328332 100644 --- a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/activity_student_list.xml +++ b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/activity_student_list.xml @@ -1,5 +1,5 @@ - - - - + - - + diff --git a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/activity_student_taken_subject.xml b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/activity_student_taken_subject.xml index ff6a298..f837bb8 100644 --- a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/activity_student_taken_subject.xml +++ b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/activity_student_taken_subject.xml @@ -1,5 +1,5 @@ - - - + - \ No newline at end of file + \ No newline at end of file diff --git a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/activity_subject_assign.xml b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/activity_subject_assign.xml index bfb1bf3..68a11db 100644 --- a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/activity_subject_assign.xml +++ b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/activity_subject_assign.xml @@ -1,12 +1,12 @@ - - - + - \ No newline at end of file + \ No newline at end of file diff --git a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/activity_subject_list.xml b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/activity_subject_list.xml index 9bb4511..df2dc6e 100644 --- a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/activity_subject_list.xml +++ b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/activity_subject_list.xml @@ -1,5 +1,5 @@ - - - - + - - \ No newline at end of file + \ No newline at end of file diff --git a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/activity_taken_subject.xml b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/activity_taken_subject.xml index dad6f36..295b2f3 100644 --- a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/activity_taken_subject.xml +++ b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/activity_taken_subject.xml @@ -1,9 +1,9 @@ - - \ No newline at end of file + \ No newline at end of file diff --git a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/content_main.xml b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/content_main.xml index 04bed15..c8c93b1 100644 --- a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/content_main.xml +++ b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/content_main.xml @@ -1,5 +1,5 @@ - - - + - + diff --git a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/content_subjects.xml b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/content_subjects.xml index b890347..8fbc134 100644 --- a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/content_subjects.xml +++ b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/content_subjects.xml @@ -1,5 +1,5 @@ - - - + - \ No newline at end of file + \ No newline at end of file diff --git a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/fragment_student_create_dialog.xml b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/fragment_student_create_dialog.xml index 2c9abc4..815be1b 100644 --- a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/fragment_student_create_dialog.xml +++ b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/fragment_student_create_dialog.xml @@ -1,4 +1,4 @@ - - + diff --git a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/fragment_student_update_dialog.xml b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/fragment_student_update_dialog.xml index 89f62fb..abedf75 100644 --- a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/fragment_student_update_dialog.xml +++ b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/fragment_student_update_dialog.xml @@ -1,4 +1,4 @@ - - + diff --git a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/fragment_subject_create_dialog.xml b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/fragment_subject_create_dialog.xml index 8cc4e35..e31f361 100644 --- a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/fragment_subject_create_dialog.xml +++ b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/fragment_subject_create_dialog.xml @@ -1,4 +1,4 @@ - - + diff --git a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/fragment_subject_update_dialog.xml b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/fragment_subject_update_dialog.xml index f1d7311..e5d36a5 100644 --- a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/fragment_subject_update_dialog.xml +++ b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/fragment_subject_update_dialog.xml @@ -1,4 +1,4 @@ - - + diff --git a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/item_student_card_view.xml b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/item_student_card_view.xml index e841fcd..7e1f0b4 100644 --- a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/item_student_card_view.xml +++ b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/item_student_card_view.xml @@ -1,5 +1,5 @@ - - @@ -40,6 +40,6 @@ app:layout_constraintTop_toTopOf="parent" app:srcCompat="@drawable/ic_delete_black_24dp" /> - + - \ No newline at end of file + \ No newline at end of file diff --git a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/item_subject_assign.xml b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/item_subject_assign.xml index b1232cd..ed3231a 100644 --- a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/item_subject_assign.xml +++ b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/item_subject_assign.xml @@ -1,5 +1,5 @@ - - @@ -49,6 +49,6 @@ app:layout_constraintTop_toBottomOf="@id/courseCodeTextView" tools:text="@string/course_credit" /> - + - \ No newline at end of file + \ No newline at end of file diff --git a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/item_subject_card_view.xml b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/item_subject_card_view.xml index c8f9258..0984f2f 100644 --- a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/item_subject_card_view.xml +++ b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/item_subject_card_view.xml @@ -1,5 +1,5 @@ - - @@ -62,6 +62,6 @@ app:layout_constraintTop_toTopOf="parent" app:srcCompat="@drawable/ic_edit_black_24dp" /> - + - \ No newline at end of file + \ No newline at end of file diff --git a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/item_taken_subject.xml b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/item_taken_subject.xml index 10a6a3c..df4f75d 100644 --- a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/item_taken_subject.xml +++ b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/item_taken_subject.xml @@ -1,5 +1,5 @@ - - @@ -51,6 +51,6 @@ app:layout_constraintTop_toTopOf="parent" app:srcCompat="@drawable/ic_delete_black_24dp" /> - + - \ No newline at end of file + \ No newline at end of file diff --git a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/layout_student_info.xml b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/layout_student_info.xml index 4acde55..adc665d 100644 --- a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/layout_student_info.xml +++ b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/layout_student_info.xml @@ -1,5 +1,5 @@ - - \ No newline at end of file + \ No newline at end of file diff --git a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/layout_table_row_count.xml b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/layout_table_row_count.xml index 47e49a6..e5c8131 100644 --- a/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/layout_table_row_count.xml +++ b/03.SQLite-Multiple-(Three)-Tables-CRUD/app/src/main/res/layout/layout_table_row_count.xml @@ -1,5 +1,5 @@ - - \ No newline at end of file + \ No newline at end of file diff --git a/03.SQLite-Multiple-(Three)-Tables-CRUD/build.gradle b/03.SQLite-Multiple-(Three)-Tables-CRUD/build.gradle index 43c0708..4244a30 100644 --- a/03.SQLite-Multiple-(Three)-Tables-CRUD/build.gradle +++ b/03.SQLite-Multiple-(Three)-Tables-CRUD/build.gradle @@ -7,7 +7,7 @@ buildscript { jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:3.1.3' + classpath 'com.android.tools.build:gradle:3.5.1' // NOTE: Do not place your application dependencies here; they belong diff --git a/03.SQLite-Multiple-(Three)-Tables-CRUD/gradle.properties b/03.SQLite-Multiple-(Three)-Tables-CRUD/gradle.properties index aac7c9b..9e6fce1 100644 --- a/03.SQLite-Multiple-(Three)-Tables-CRUD/gradle.properties +++ b/03.SQLite-Multiple-(Three)-Tables-CRUD/gradle.properties @@ -9,6 +9,8 @@ # Specifies the JVM arguments used for the daemon process. # The setting is particularly useful for tweaking memory settings. +android.enableJetifier=true +android.useAndroidX=true org.gradle.jvmargs=-Xmx1536m # When configured, Gradle will run in incubating parallel mode. diff --git a/03.SQLite-Multiple-(Three)-Tables-CRUD/gradle/wrapper/gradle-wrapper.properties b/03.SQLite-Multiple-(Three)-Tables-CRUD/gradle/wrapper/gradle-wrapper.properties index 3411cbf..1f3dc43 100644 --- a/03.SQLite-Multiple-(Three)-Tables-CRUD/gradle/wrapper/gradle-wrapper.properties +++ b/03.SQLite-Multiple-(Three)-Tables-CRUD/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ -#Sun Apr 22 18:05:46 BDT 2018 +#Thu Oct 31 11:30:33 BDT 2019 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip