diff --git a/.idea/dictionaries/vvv.xml b/.idea/dictionaries/vvv.xml index faeb30e..7f8dbd6 100644 --- a/.idea/dictionaries/vvv.xml +++ b/.idea/dictionaries/vvv.xml @@ -1,3 +1,7 @@ - + + + github + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml index 264e400..b28cefd 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -53,7 +53,7 @@ - + diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/app/src/androidTest/java/com/example/vivchar/immutableadapter/ExampleInstrumentedTest.java b/app/src/androidTest/java/com/github/vivchar/immutableadapter/ExampleInstrumentedTest.java similarity index 82% rename from app/src/androidTest/java/com/example/vivchar/immutableadapter/ExampleInstrumentedTest.java rename to app/src/androidTest/java/com/github/vivchar/immutableadapter/ExampleInstrumentedTest.java index 3dbb144..8f91843 100644 --- a/app/src/androidTest/java/com/example/vivchar/immutableadapter/ExampleInstrumentedTest.java +++ b/app/src/androidTest/java/com/github/vivchar/immutableadapter/ExampleInstrumentedTest.java @@ -1,4 +1,4 @@ -package com.example.vivchar.immutableadapter; +package com.github.vivchar.immutableadapter; import android.content.Context; import android.support.test.InstrumentationRegistry; @@ -24,6 +24,6 @@ void useAppContext() throws Exception { // Context of the app under test. Context appContext = InstrumentationRegistry.getTargetContext(); - assertEquals("com.example.vivchar.immutableadapter", appContext.getPackageName()); + assertEquals("com.github.vivchar.immutableadapter", appContext.getPackageName()); } } diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 786a5b2..b8fc8b8 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -1,5 +1,5 @@ - @@ -10,7 +10,7 @@ android:supportsRtl = "true" android:theme = "@style/AppTheme" > - + diff --git a/app/src/main/java/com/example/vivchar/immutableadapter/MainActivity.java b/app/src/main/java/com/github/vivchar/immutableadapter/MainActivity.java similarity index 77% rename from app/src/main/java/com/example/vivchar/immutableadapter/MainActivity.java rename to app/src/main/java/com/github/vivchar/immutableadapter/MainActivity.java index 757f233..2859164 100644 --- a/app/src/main/java/com/example/vivchar/immutableadapter/MainActivity.java +++ b/app/src/main/java/com/github/vivchar/immutableadapter/MainActivity.java @@ -1,4 +1,4 @@ -package com.example.vivchar.immutableadapter; +package com.github.vivchar.immutableadapter; import android.os.Bundle; import android.support.annotation.NonNull; @@ -7,12 +7,12 @@ import android.support.v7.widget.RecyclerView; import android.widget.Toast; -import com.example.vivchar.immutableadapter.items.content.ContentModel; -import com.example.vivchar.immutableadapter.items.content.ContentViewRenderer; -import com.example.vivchar.immutableadapter.items.header.HeaderModel; -import com.example.vivchar.immutableadapter.items.header.HeaderViewRenderer; -import com.example.vivchar.rendererrecyclerviewadapter.ItemModel; -import com.example.vivchar.rendererrecyclerviewadapter.RendererRecyclerViewAdapter; +import com.github.vivchar.immutableadapter.items.content.ContentModel; +import com.github.vivchar.immutableadapter.items.content.ContentViewRenderer; +import com.github.vivchar.immutableadapter.items.header.HeaderModel; +import com.github.vivchar.immutableadapter.items.header.HeaderViewRenderer; +import com.github.vivchar.rendererrecyclerviewadapter.ItemModel; +import com.github.vivchar.rendererrecyclerviewadapter.RendererRecyclerViewAdapter; import java.util.ArrayList; diff --git a/app/src/main/java/com/example/vivchar/immutableadapter/items/content/ContentModel.java b/app/src/main/java/com/github/vivchar/immutableadapter/items/content/ContentModel.java similarity index 76% rename from app/src/main/java/com/example/vivchar/immutableadapter/items/content/ContentModel.java rename to app/src/main/java/com/github/vivchar/immutableadapter/items/content/ContentModel.java index 20ac0d4..ff2afe8 100644 --- a/app/src/main/java/com/example/vivchar/immutableadapter/items/content/ContentModel.java +++ b/app/src/main/java/com/github/vivchar/immutableadapter/items/content/ContentModel.java @@ -1,8 +1,8 @@ -package com.example.vivchar.immutableadapter.items.content; +package com.github.vivchar.immutableadapter.items.content; import android.support.annotation.NonNull; -import com.example.vivchar.rendererrecyclerviewadapter.ItemModel; +import com.github.vivchar.rendererrecyclerviewadapter.ItemModel; /** * Created by Vivchar Vitaly on 1/10/17. diff --git a/app/src/main/java/com/example/vivchar/immutableadapter/items/content/ContentViewHolder.java b/app/src/main/java/com/github/vivchar/immutableadapter/items/content/ContentViewHolder.java similarity index 78% rename from app/src/main/java/com/example/vivchar/immutableadapter/items/content/ContentViewHolder.java rename to app/src/main/java/com/github/vivchar/immutableadapter/items/content/ContentViewHolder.java index 2ecd5bf..d92e6dc 100644 --- a/app/src/main/java/com/example/vivchar/immutableadapter/items/content/ContentViewHolder.java +++ b/app/src/main/java/com/github/vivchar/immutableadapter/items/content/ContentViewHolder.java @@ -1,10 +1,10 @@ -package com.example.vivchar.immutableadapter.items.content; +package com.github.vivchar.immutableadapter.items.content; import android.support.v7.widget.RecyclerView; import android.view.View; import android.widget.TextView; -import com.example.vivchar.immutableadapter.R; +import com.github.vivchar.immutableadapter.R; /** * Created by Vivchar Vitaly on 1/10/17. diff --git a/app/src/main/java/com/example/vivchar/immutableadapter/items/content/ContentViewRenderer.java b/app/src/main/java/com/github/vivchar/immutableadapter/items/content/ContentViewRenderer.java similarity index 87% rename from app/src/main/java/com/example/vivchar/immutableadapter/items/content/ContentViewRenderer.java rename to app/src/main/java/com/github/vivchar/immutableadapter/items/content/ContentViewRenderer.java index 0b25269..5d1b825 100644 --- a/app/src/main/java/com/example/vivchar/immutableadapter/items/content/ContentViewRenderer.java +++ b/app/src/main/java/com/github/vivchar/immutableadapter/items/content/ContentViewRenderer.java @@ -1,4 +1,4 @@ -package com.example.vivchar.immutableadapter.items.content; +package com.github.vivchar.immutableadapter.items.content; import android.content.Context; import android.support.annotation.NonNull; @@ -7,8 +7,8 @@ import android.view.View; import android.view.ViewGroup; -import com.example.vivchar.immutableadapter.R; -import com.example.vivchar.rendererrecyclerviewadapter.ViewRenderer; +import com.github.vivchar.immutableadapter.R; +import com.github.vivchar.rendererrecyclerviewadapter.ViewRenderer; /** * Created by Vivchar Vitaly on 1/10/17. diff --git a/app/src/main/java/com/example/vivchar/immutableadapter/items/header/HeaderModel.java b/app/src/main/java/com/github/vivchar/immutableadapter/items/header/HeaderModel.java similarity index 76% rename from app/src/main/java/com/example/vivchar/immutableadapter/items/header/HeaderModel.java rename to app/src/main/java/com/github/vivchar/immutableadapter/items/header/HeaderModel.java index 655f590..a5fbb44 100644 --- a/app/src/main/java/com/example/vivchar/immutableadapter/items/header/HeaderModel.java +++ b/app/src/main/java/com/github/vivchar/immutableadapter/items/header/HeaderModel.java @@ -1,8 +1,8 @@ -package com.example.vivchar.immutableadapter.items.header; +package com.github.vivchar.immutableadapter.items.header; import android.support.annotation.NonNull; -import com.example.vivchar.rendererrecyclerviewadapter.ItemModel; +import com.github.vivchar.rendererrecyclerviewadapter.ItemModel; /** * Created by Vivchar Vitaly on 1/10/17. diff --git a/app/src/main/java/com/example/vivchar/immutableadapter/items/header/HeaderViewHolder.java b/app/src/main/java/com/github/vivchar/immutableadapter/items/header/HeaderViewHolder.java similarity index 78% rename from app/src/main/java/com/example/vivchar/immutableadapter/items/header/HeaderViewHolder.java rename to app/src/main/java/com/github/vivchar/immutableadapter/items/header/HeaderViewHolder.java index 45ac096..6e0f4f0 100644 --- a/app/src/main/java/com/example/vivchar/immutableadapter/items/header/HeaderViewHolder.java +++ b/app/src/main/java/com/github/vivchar/immutableadapter/items/header/HeaderViewHolder.java @@ -1,10 +1,10 @@ -package com.example.vivchar.immutableadapter.items.header; +package com.github.vivchar.immutableadapter.items.header; import android.support.v7.widget.RecyclerView; import android.view.View; import android.widget.TextView; -import com.example.vivchar.immutableadapter.R; +import com.github.vivchar.immutableadapter.R; /** * Created by Vivchar Vitaly on 1/10/17. diff --git a/app/src/main/java/com/example/vivchar/immutableadapter/items/header/HeaderViewRenderer.java b/app/src/main/java/com/github/vivchar/immutableadapter/items/header/HeaderViewRenderer.java similarity index 81% rename from app/src/main/java/com/example/vivchar/immutableadapter/items/header/HeaderViewRenderer.java rename to app/src/main/java/com/github/vivchar/immutableadapter/items/header/HeaderViewRenderer.java index cb83e83..bc74f04 100644 --- a/app/src/main/java/com/example/vivchar/immutableadapter/items/header/HeaderViewRenderer.java +++ b/app/src/main/java/com/github/vivchar/immutableadapter/items/header/HeaderViewRenderer.java @@ -1,4 +1,4 @@ -package com.example.vivchar.immutableadapter.items.header; +package com.github.vivchar.immutableadapter.items.header; import android.content.Context; import android.support.annotation.NonNull; @@ -6,8 +6,8 @@ import android.view.LayoutInflater; import android.view.ViewGroup; -import com.example.vivchar.immutableadapter.R; -import com.example.vivchar.rendererrecyclerviewadapter.ViewRenderer; +import com.github.vivchar.immutableadapter.R; +import com.github.vivchar.rendererrecyclerviewadapter.ViewRenderer; /** * Created by Vivchar Vitaly on 1/10/17. diff --git a/app/src/main/res/layout/main.xml b/app/src/main/res/layout/main.xml index 228372a..b26f25c 100644 --- a/app/src/main/res/layout/main.xml +++ b/app/src/main/res/layout/main.xml @@ -9,7 +9,7 @@ android:paddingLeft = "@dimen/activity_horizontal_margin" android:paddingRight = "@dimen/activity_horizontal_margin" android:paddingTop = "@dimen/activity_vertical_margin" - tools:context = "com.example.vivchar.immutableadapter.MainActivity" + tools:context = "com.github.vivchar.immutableadapter.MainActivity" >