diff --git a/accordion_library/src/androidTest/java/beepbeep/accordian_library/ExampleInstrumentedTest.java b/accordion_library/src/androidTest/java/beepbeep/accordion_library/ExampleInstrumentedTest.java
similarity index 86%
rename from accordion_library/src/androidTest/java/beepbeep/accordian_library/ExampleInstrumentedTest.java
rename to accordion_library/src/androidTest/java/beepbeep/accordion_library/ExampleInstrumentedTest.java
index 7bfe0a1..03601cc 100644
--- a/accordion_library/src/androidTest/java/beepbeep/accordian_library/ExampleInstrumentedTest.java
+++ b/accordion_library/src/androidTest/java/beepbeep/accordion_library/ExampleInstrumentedTest.java
@@ -1,4 +1,4 @@
-package beepbeep.accordian_library;
+package beepbeep.accordion_library;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
@@ -21,6 +21,6 @@ public void useAppContext() {
// Context of the app under test.
Context appContext = InstrumentationRegistry.getTargetContext();
- assertEquals("beepbeep.accordian_library.test", appContext.getPackageName());
+ assertEquals("beepbeep.accordion_library.test", appContext.getPackageName());
}
}
diff --git a/accordion_library/src/main/AndroidManifest.xml b/accordion_library/src/main/AndroidManifest.xml
index 2f90635..04b3e04 100644
--- a/accordion_library/src/main/AndroidManifest.xml
+++ b/accordion_library/src/main/AndroidManifest.xml
@@ -1,2 +1,2 @@
+ package="beepbeep.accordion_library" />
diff --git a/accordion_library/src/main/java/beepbeep/accordian_library/AccordionAdapter.kt b/accordion_library/src/main/java/beepbeep/accordion_library/AccordionAdapter.kt
similarity index 93%
rename from accordion_library/src/main/java/beepbeep/accordian_library/AccordionAdapter.kt
rename to accordion_library/src/main/java/beepbeep/accordion_library/AccordionAdapter.kt
index e735f22..3eb63e6 100644
--- a/accordion_library/src/main/java/beepbeep/accordian_library/AccordionAdapter.kt
+++ b/accordion_library/src/main/java/beepbeep/accordion_library/AccordionAdapter.kt
@@ -1,4 +1,4 @@
-package beepbeep.accordian_library
+package beepbeep.accordion_library
import android.view.ViewGroup
diff --git a/accordion_library/src/main/java/beepbeep/accordian_library/AccordionView.kt b/accordion_library/src/main/java/beepbeep/accordion_library/AccordionView.kt
similarity index 99%
rename from accordion_library/src/main/java/beepbeep/accordian_library/AccordionView.kt
rename to accordion_library/src/main/java/beepbeep/accordion_library/AccordionView.kt
index 2cd52e4..90b82da 100644
--- a/accordion_library/src/main/java/beepbeep/accordian_library/AccordionView.kt
+++ b/accordion_library/src/main/java/beepbeep/accordion_library/AccordionView.kt
@@ -1,4 +1,4 @@
-package beepbeep.accordian_library
+package beepbeep.accordion_library
import android.content.Context
import android.support.constraint.ConstraintLayout
diff --git a/accordion_library/src/main/res/values/strings.xml b/accordion_library/src/main/res/values/strings.xml
index 9266774..bf6720f 100644
--- a/accordion_library/src/main/res/values/strings.xml
+++ b/accordion_library/src/main/res/values/strings.xml
@@ -1,3 +1,3 @@
- accordian_library
+ accordion_library
diff --git a/accordion_library/src/test/java/beepbeep/accordian_library/ExampleUnitTest.java b/accordion_library/src/test/java/beepbeep/accordion_library/ExampleUnitTest.java
similarity index 90%
rename from accordion_library/src/test/java/beepbeep/accordian_library/ExampleUnitTest.java
rename to accordion_library/src/test/java/beepbeep/accordion_library/ExampleUnitTest.java
index 651f4a2..57eb78b 100644
--- a/accordion_library/src/test/java/beepbeep/accordian_library/ExampleUnitTest.java
+++ b/accordion_library/src/test/java/beepbeep/accordion_library/ExampleUnitTest.java
@@ -1,4 +1,4 @@
-package beepbeep.accordian_library;
+package beepbeep.accordion_library;
import org.junit.Test;
diff --git a/app/src/main/java/beepbeep/accordionView/sample/RandomAdapter.kt b/app/src/main/java/beepbeep/accordionView/sample/RandomAdapter.kt
index f8b3f52..4b155dc 100644
--- a/app/src/main/java/beepbeep/accordionView/sample/RandomAdapter.kt
+++ b/app/src/main/java/beepbeep/accordionView/sample/RandomAdapter.kt
@@ -5,8 +5,8 @@ import android.view.View
import android.view.ViewGroup
import beepbeep.accordionView.DataModel
import beepbeep.accordionView.R
-import beepbeep.accordian_library.AccordionAdapter
-import beepbeep.accordian_library.AccordionView
+import beepbeep.accordion_library.AccordionAdapter
+import beepbeep.accordion_library.AccordionView
import kotlinx.android.synthetic.main.row_content.view.*
import kotlinx.android.synthetic.main.row_title.view.*
diff --git a/app/src/main/java/beepbeep/accordionView/sample/RandomFactActivity.kt b/app/src/main/java/beepbeep/accordionView/sample/RandomFactActivity.kt
index 44226a3..ca427cd 100644
--- a/app/src/main/java/beepbeep/accordionView/sample/RandomFactActivity.kt
+++ b/app/src/main/java/beepbeep/accordionView/sample/RandomFactActivity.kt
@@ -4,12 +4,12 @@ import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import beepbeep.accordionView.DataModel
import beepbeep.accordionView.R
-import kotlinx.android.synthetic.main.activity_accordian.*
+import kotlinx.android.synthetic.main.activity_random_fact.*
class RandomFactActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
- setContentView(R.layout.activity_accordian)
+ setContentView(R.layout.activity_random_fact)
val adapter = RandomAdapter(listOf(
DataModel("Zombie Facts", "In Haitian folklore, a zombie (Haitian French: zombi, Haitian Creole: zonbi) is an animated corpse raised by magical means, such as witchcraft. The concept has been popularly associated with the religion of voodoo, but it plays no part in that faith's formal practices."),
DataModel("Mariana Trench", "The Mariana Trench or Marianas Trench, located in the western Pacific Ocean approximately 200 kilometres east of the Mariana Islands, is the deepest point in the world's oceans."),
@@ -17,7 +17,7 @@ class RandomFactActivity : AppCompatActivity() {
DataModel("Llama Facts", "The llama is a domesticated South American camelid, widely used as a meat and pack animal by Andean cultures since the Pre-Columbian era."),
DataModel("Turtle Facts", "Turtles have a hard shell that protects them like a shield, this upper shell is called a 'carapace'. Turtles also have a lower shell called a 'plastron'. Many turtle species (not all) can hide their heads inside their shells when attacked by predators. Turtles have existed for around 215 million years.")
))
- accordian_view.adapter = adapter
- accordian_view.updatePosition(3)
+ accordion_view.adapter = adapter
+ accordion_view.updatePosition(3)
}
}
\ No newline at end of file
diff --git a/app/src/main/res/layout/activity_accordian.xml b/app/src/main/res/layout/activity_random_fact.xml
similarity index 88%
rename from app/src/main/res/layout/activity_accordian.xml
rename to app/src/main/res/layout/activity_random_fact.xml
index 50abc6a..1a6fea2 100644
--- a/app/src/main/res/layout/activity_accordian.xml
+++ b/app/src/main/res/layout/activity_random_fact.xml
@@ -4,8 +4,8 @@
android:layout_width="match_parent"
android:layout_height="match_parent">
-
- Accordian View
+ Accordion View
Hello World
▲