From 72e0eef3a2372abb2ebfd6d78795cf89a2b1e84f Mon Sep 17 00:00:00 2001 From: Jakub Kinst Date: Fri, 7 Aug 2015 10:22:58 +0200 Subject: [PATCH] Package name changes --- app/build.gradle | 1 - .../statefulviewsample/ApplicationTest.java | 16 ---------------- app/src/main/AndroidManifest.xml | 2 +- .../strv/sample/statefulview}/MainActivity.java | 4 ++-- app/src/main/res/layout/activity_main.xml | 4 ++-- .../example/statefulview/ApplicationTest.java | 16 ---------------- library/src/main/AndroidManifest.xml | 2 +- .../java/com/strv/{ => view}/StatefulView.java | 2 +- .../main/java/com/strv/{ => view}/ViewState.java | 2 +- 9 files changed, 8 insertions(+), 41 deletions(-) delete mode 100644 app/src/androidTest/java/cz/kinst/jakub/statefulviewsample/ApplicationTest.java rename app/src/main/java/{cz/kinst/jakub/statefulviewsample => com/strv/sample/statefulview}/MainActivity.java (90%) delete mode 100644 library/src/androidTest/java/com/example/statefulview/ApplicationTest.java rename library/src/main/java/com/strv/{ => view}/StatefulView.java (99%) rename library/src/main/java/com/strv/{ => view}/ViewState.java (73%) diff --git a/app/build.gradle b/app/build.gradle index 9ad087b..b9ccd49 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -5,7 +5,6 @@ android { buildToolsVersion "22.0.1" defaultConfig { - applicationId "cz.kinst.jakub.statefulviewsample" minSdkVersion 16 targetSdkVersion 22 versionCode 1 diff --git a/app/src/androidTest/java/cz/kinst/jakub/statefulviewsample/ApplicationTest.java b/app/src/androidTest/java/cz/kinst/jakub/statefulviewsample/ApplicationTest.java deleted file mode 100644 index 2aef048..0000000 --- a/app/src/androidTest/java/cz/kinst/jakub/statefulviewsample/ApplicationTest.java +++ /dev/null @@ -1,16 +0,0 @@ -package cz.kinst.jakub.statefulviewsample; - -import android.app.Application; -import android.test.ApplicationTestCase; - - -/** - * Testing Fundamentals - */ -public class ApplicationTest extends ApplicationTestCase -{ - public ApplicationTest() - { - super(Application.class); - } -} \ No newline at end of file diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 0e8a52f..a089593 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -1,6 +1,6 @@ + package="com.strv.sample.statefulview"> - - + diff --git a/library/src/androidTest/java/com/example/statefulview/ApplicationTest.java b/library/src/androidTest/java/com/example/statefulview/ApplicationTest.java deleted file mode 100644 index f274cbf..0000000 --- a/library/src/androidTest/java/com/example/statefulview/ApplicationTest.java +++ /dev/null @@ -1,16 +0,0 @@ -package com.example.statefulview; - -import android.app.Application; -import android.test.ApplicationTestCase; - - -/** - * Testing Fundamentals - */ -public class ApplicationTest extends ApplicationTestCase -{ - public ApplicationTest() - { - super(Application.class); - } -} \ No newline at end of file diff --git a/library/src/main/AndroidManifest.xml b/library/src/main/AndroidManifest.xml index 732944c..087b46e 100644 --- a/library/src/main/AndroidManifest.xml +++ b/library/src/main/AndroidManifest.xml @@ -1,5 +1,5 @@ + package="com.strv.view"> diff --git a/library/src/main/java/com/strv/StatefulView.java b/library/src/main/java/com/strv/view/StatefulView.java similarity index 99% rename from library/src/main/java/com/strv/StatefulView.java rename to library/src/main/java/com/strv/view/StatefulView.java index 2053c44..8756fc8 100644 --- a/library/src/main/java/com/strv/StatefulView.java +++ b/library/src/main/java/com/strv/view/StatefulView.java @@ -1,4 +1,4 @@ -package com.strv; +package com.strv.view; import android.content.Context; import android.content.res.TypedArray; diff --git a/library/src/main/java/com/strv/ViewState.java b/library/src/main/java/com/strv/view/ViewState.java similarity index 73% rename from library/src/main/java/com/strv/ViewState.java rename to library/src/main/java/com/strv/view/ViewState.java index e1c9543..2ba35af 100644 --- a/library/src/main/java/com/strv/ViewState.java +++ b/library/src/main/java/com/strv/view/ViewState.java @@ -1,4 +1,4 @@ -package com.strv; +package com.strv.view; public enum ViewState