diff --git a/Assignments/CrimeActivity/.idea/deploymentTargetDropDown.xml b/Assignments/CrimeActivity/.idea/deploymentTargetDropDown.xml index 74585ee..dc01bd0 100644 --- a/Assignments/CrimeActivity/.idea/deploymentTargetDropDown.xml +++ b/Assignments/CrimeActivity/.idea/deploymentTargetDropDown.xml @@ -2,11 +2,21 @@ - - - - + + + + + + + + + + + + + + diff --git a/Assignments/CrimeActivity/app/build.gradle.kts b/Assignments/CrimeActivity/app/build.gradle.kts index a5191d9..7bb0fa6 100644 --- a/Assignments/CrimeActivity/app/build.gradle.kts +++ b/Assignments/CrimeActivity/app/build.gradle.kts @@ -36,6 +36,7 @@ dependencies { implementation("androidx.appcompat:appcompat:1.6.1") implementation("com.google.android.material:material:1.11.0") implementation("androidx.constraintlayout:constraintlayout:2.1.4") + implementation("androidx.recyclerview:recyclerview:1.3.2") testImplementation("junit:junit:4.13.2") androidTestImplementation("androidx.test.ext:junit:1.1.5") androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1") diff --git a/Assignments/CrimeActivity/app/src/main/java/com/calebfontenot/crimeactivity/CrimeActivity.java b/Assignments/CrimeActivity/app/src/main/java/com/calebfontenot/crimeactivity/CrimeActivity.java index 2bc85a3..63187d9 100644 --- a/Assignments/CrimeActivity/app/src/main/java/com/calebfontenot/crimeactivity/CrimeActivity.java +++ b/Assignments/CrimeActivity/app/src/main/java/com/calebfontenot/crimeactivity/CrimeActivity.java @@ -2,7 +2,7 @@ package com.calebfontenot.crimeactivity; import androidx.fragment.app.Fragment; -public class CrimeActivity extends SingleFragmentActivity{ +public class CrimeActivity extends SingleFragmentActivity { @Override protected Fragment createFragment() { return new CrimeFragment(); diff --git a/Assignments/CrimeActivity/app/src/main/java/com/calebfontenot/crimeactivity/CrimeListActivity.java b/Assignments/CrimeActivity/app/src/main/java/com/calebfontenot/crimeactivity/CrimeListActivity.java index 5277e54..e956d28 100644 --- a/Assignments/CrimeActivity/app/src/main/java/com/calebfontenot/crimeactivity/CrimeListActivity.java +++ b/Assignments/CrimeActivity/app/src/main/java/com/calebfontenot/crimeactivity/CrimeListActivity.java @@ -3,10 +3,10 @@ package com.calebfontenot.crimeactivity; import androidx.fragment.app.Fragment; public class CrimeListActivity extends SingleFragmentActivity { + public CrimeListActivity() { createFragment(); } - @Override protected Fragment createFragment() { return new CrimeListFragment(); diff --git a/Assignments/CrimeActivity/app/src/main/res/layout/fragment_crime_list.xml b/Assignments/CrimeActivity/app/src/main/res/layout/fragment_crime_list.xml index 12209a4..d163aad 100644 --- a/Assignments/CrimeActivity/app/src/main/res/layout/fragment_crime_list.xml +++ b/Assignments/CrimeActivity/app/src/main/res/layout/fragment_crime_list.xml @@ -1,5 +1,5 @@ -