diff --git a/.idea/copyright/profiles_settings.xml b/.idea/copyright/profiles_settings.xml deleted file mode 100644 index e7bedf3..0000000 --- a/.idea/copyright/profiles_settings.xml +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/LICENSE.txt b/LICENSE.txt index f697e4e..0d8a4d0 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -186,7 +186,7 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright 2016 Fuck Boilerplate + Copyright 2016 Miguel Garcia Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/README.md b/README.md index b513328..a3358c7 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ Every feature RxPaparazzo exposes can be accessed from both, an `activity` or a **Limitation:**: Your fragments need to extend from `android.support.v4.app.Fragment` instead of `android.app.Fragment`, otherwise they won't be notified. -The generic type of the `observable` returned by RxPaparazzo when subscribing to any of its features is always an instance of [Response](https://github.com/FuckBoilerplate/RxPaparazzo/blob/master/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/entities/Response.java) class. +The generic type of the `observable` returned by RxPaparazzo when subscribing to any of its features is always an instance of [Response](https://github.com/miguelbcr/RxPaparazzo/blob/master/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/entities/Response.java) class. This instance holds a reference to the current Activity/Fragment, accessible calling `targetUI()` method. Because the original one may be recreated it would be unsafe calling it. Instead, you must call any method/variable of your Activity/Fragment from this instance encapsulated in the `response` instance. @@ -129,14 +129,14 @@ The `response` instance holds a reference to the paths where the images were per When asking RxPaparazzo for an image -whether it was retrieved using the built-in camera or via gallery, it's possible to apply some configurations to the action. ### Size options -[Size](https://github.com/FuckBoilerplate/RxPaparazzo/blob/master/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/entities/size/Size.java) values can be used to set the size of the image to retrieve. There are 4 options: +[Size](https://github.com/miguelbcr/RxPaparazzo/blob/master/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/entities/size/Size.java) values can be used to set the size of the image to retrieve. There are 4 options: -* [SmallSize](https://github.com/FuckBoilerplate/RxPaparazzo/blob/master/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/entities/size/SmallSize.java): 1/8 aprox. of the screen resolution -* [ScreenSize](https://github.com/FuckBoilerplate/RxPaparazzo/blob/master/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/entities/size/ScreenSize.java): The size image matches aprox. the screen resolution. -* [OriginalSize](https://github.com/FuckBoilerplate/RxPaparazzo/blob/master/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/entities/size/OriginalSize.java): The original size of the image. -* [CustomMaxSize](https://github.com/FuckBoilerplate/RxPaparazzo/blob/master/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/entities/size/CustomMaxSize.java): Yot can specify max size you want and image will be scaled proportionally. +* [SmallSize](https://github.com/miguelbcr/RxPaparazzo/blob/master/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/entities/size/SmallSize.java): 1/8 aprox. of the screen resolution +* [ScreenSize](https://github.com/miguelbcr/RxPaparazzo/blob/master/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/entities/size/ScreenSize.java): The size image matches aprox. the screen resolution. +* [OriginalSize](https://github.com/miguelbcr/RxPaparazzo/blob/master/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/entities/size/OriginalSize.java): The original size of the image. +* [CustomMaxSize](https://github.com/miguelbcr/RxPaparazzo/blob/master/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/entities/size/CustomMaxSize.java): Yot can specify max size you want and image will be scaled proportionally. -[ScreenSize](https://github.com/FuckBoilerplate/RxPaparazzo/blob/master/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/entities/size/ScreenSize.java) value will be set as default. +[ScreenSize](https://github.com/miguelbcr/RxPaparazzo/blob/master/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/entities/size/ScreenSize.java) value will be set as default. ```java RxPaparazzo.takeImages(activityOrFragment) @@ -154,7 +154,7 @@ RxPaparazzo.takeImages(activityOrFragment) By calling `crop()` method when building the observable instance, all they images retrieved will be able to be cropped, regardless if the images were retrieved using the built-in camera or gallery, even if multiple images were requested in a single call using `takeImages()` approach. Because uCrop Yalantis library exposes some configuration in order to customize the crop screen, RxPaparazzo exposes an overloaded method of `crop(UCrop.Options)` which allow to pass an instance of [UCrop.Options](https://github.com/Yalantis/uCrop/blob/master/ucrop/src/main/java/com/yalantis/ucrop/UCrop.java#L211). -If you need to configure the aspect ratio, the max result size or using the source image aspect ratio, you must pass an instance of [Options](https://github.com/FuckBoilerplate/RxPaparazzo/blob/master/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/entities/Options.java) class, which extends from `UCrop.Options` and adds the three missing properties. +If you need to configure the aspect ratio, the max result size or using the source image aspect ratio, you must pass an instance of [Options](https://github.com/miguelbcr/RxPaparazzo/blob/master/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/entities/Options.java) class, which extends from `UCrop.Options` and adds the three missing properties. ```java UCrop.Options options = new UCrop.Options(); diff --git a/app/build.gradle b/app/build.gradle index 9ce4e2d..24ef9c6 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -17,7 +17,7 @@ android { buildToolsVersion "24.0.1" defaultConfig { - applicationId "com.fuck_boilerplate.rx_paparazzo.sample" + applicationId "com.miguelbcr.ui.rx_paparazzo2.sample" minSdkVersion 16 targetSdkVersion 24 versionCode 1 diff --git a/app/src/androidTest/java/com/fuck_boilerplate/rx_paparazzo/sample/ApplicationTest.java b/app/src/androidTest/java/com/miguelbcr/ui/rx_paparazzo2/sample/ApplicationTest.java similarity index 93% rename from app/src/androidTest/java/com/fuck_boilerplate/rx_paparazzo/sample/ApplicationTest.java rename to app/src/androidTest/java/com/miguelbcr/ui/rx_paparazzo2/sample/ApplicationTest.java index 2faaa0c..59d7a69 100644 --- a/app/src/androidTest/java/com/fuck_boilerplate/rx_paparazzo/sample/ApplicationTest.java +++ b/app/src/androidTest/java/com/miguelbcr/ui/rx_paparazzo2/sample/ApplicationTest.java @@ -1,4 +1,4 @@ -package com.fuck_boilerplate.rx_paparazzo.sample; +package com.miguelbcr.ui.rx_paparazzo2.sample; import android.app.Activity; import android.content.Context; @@ -17,15 +17,15 @@ import android.view.View; import android.view.WindowManager; import android.widget.ImageView; -import com.fuck_boilerplate.rx_paparazzo.entities.Config; -import com.fuck_boilerplate.rx_paparazzo.entities.TargetUi; -import com.fuck_boilerplate.rx_paparazzo.entities.size.Size; -import com.fuck_boilerplate.rx_paparazzo.interactors.DownloadImage; -import com.fuck_boilerplate.rx_paparazzo.interactors.GetDimens; -import com.fuck_boilerplate.rx_paparazzo.interactors.GetPath; -import com.fuck_boilerplate.rx_paparazzo.interactors.ImageUtils; -import com.fuck_boilerplate.rx_paparazzo.sample.activities.StartActivity; -import com.fuck_boilerplate.rx_paparazzo.sample.activities.Testable; +import com.miguelbcr.ui.rx_paparazzo2.entities.Config; +import com.miguelbcr.ui.rx_paparazzo2.entities.TargetUi; +import com.miguelbcr.ui.rx_paparazzo2.entities.size.Size; +import com.miguelbcr.ui.rx_paparazzo2.interactors.DownloadImage; +import com.miguelbcr.ui.rx_paparazzo2.interactors.GetDimens; +import com.miguelbcr.ui.rx_paparazzo2.interactors.GetPath; +import com.miguelbcr.ui.rx_paparazzo2.interactors.ImageUtils; +import com.miguelbcr.ui.rx_paparazzo2.sample.activities.StartActivity; +import com.miguelbcr.ui.rx_paparazzo2.sample.activities.Testable; import java.io.File; import java.util.List; import org.hamcrest.Description; @@ -41,7 +41,7 @@ import static android.support.test.espresso.action.ViewActions.click; import static android.support.test.espresso.assertion.ViewAssertions.matches; import static android.support.test.espresso.matcher.ViewMatchers.withId; -import static com.fuck_boilerplate.rx_paparazzo.sample.recyclerview.RecyclerViewUtils.withRecyclerView; +import static com.miguelbcr.ui.rx_paparazzo2.sample.recyclerview.RecyclerViewUtils.withRecyclerView; import static org.hamcrest.Matchers.greaterThan; import static org.hamcrest.Matchers.lessThan; import static org.hamcrest.core.CombinableMatcher.both; diff --git a/app/src/androidTest/java/com/fuck_boilerplate/rx_paparazzo/sample/recyclerview/RecyclerViewMatcher.java b/app/src/androidTest/java/com/miguelbcr/ui/rx_paparazzo2/sample/recyclerview/RecyclerViewMatcher.java similarity index 97% rename from app/src/androidTest/java/com/fuck_boilerplate/rx_paparazzo/sample/recyclerview/RecyclerViewMatcher.java rename to app/src/androidTest/java/com/miguelbcr/ui/rx_paparazzo2/sample/recyclerview/RecyclerViewMatcher.java index 4d15447..2f9b01b 100644 --- a/app/src/androidTest/java/com/fuck_boilerplate/rx_paparazzo/sample/recyclerview/RecyclerViewMatcher.java +++ b/app/src/androidTest/java/com/miguelbcr/ui/rx_paparazzo2/sample/recyclerview/RecyclerViewMatcher.java @@ -1,4 +1,4 @@ -package com.fuck_boilerplate.rx_paparazzo.sample.recyclerview; +package com.miguelbcr.ui.rx_paparazzo2.sample.recyclerview; import android.content.res.Resources; import android.support.v7.widget.RecyclerView; diff --git a/app/src/androidTest/java/com/fuck_boilerplate/rx_paparazzo/sample/recyclerview/RecyclerViewUtils.java b/app/src/androidTest/java/com/miguelbcr/ui/rx_paparazzo2/sample/recyclerview/RecyclerViewUtils.java similarity index 98% rename from app/src/androidTest/java/com/fuck_boilerplate/rx_paparazzo/sample/recyclerview/RecyclerViewUtils.java rename to app/src/androidTest/java/com/miguelbcr/ui/rx_paparazzo2/sample/recyclerview/RecyclerViewUtils.java index fafa0aa..ce49186 100644 --- a/app/src/androidTest/java/com/fuck_boilerplate/rx_paparazzo/sample/recyclerview/RecyclerViewUtils.java +++ b/app/src/androidTest/java/com/miguelbcr/ui/rx_paparazzo2/sample/recyclerview/RecyclerViewUtils.java @@ -1,4 +1,4 @@ -package com.fuck_boilerplate.rx_paparazzo.sample.recyclerview; +package com.miguelbcr.ui.rx_paparazzo2.sample.recyclerview; public class RecyclerViewUtils { diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index b65fd78..d16def4 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -1,18 +1,18 @@ + package="com.miguelbcr.ui.rx_paparazzo2.sample"> - @@ -20,9 +20,9 @@ - + - + diff --git a/app/src/main/java/com/fuck_boilerplate/rx_paparazzo/sample/activities/Testable.java b/app/src/main/java/com/fuck_boilerplate/rx_paparazzo/sample/activities/Testable.java deleted file mode 100644 index ce4a51a..0000000 --- a/app/src/main/java/com/fuck_boilerplate/rx_paparazzo/sample/activities/Testable.java +++ /dev/null @@ -1,12 +0,0 @@ -package com.fuck_boilerplate.rx_paparazzo.sample.activities; - - -import com.fuck_boilerplate.rx_paparazzo.entities.size.Size; - -import java.util.List; - -public interface Testable { - List getFilePaths(); - - Size getSize(); -} diff --git a/app/src/main/java/com/fuck_boilerplate/rx_paparazzo/sample/AppCare.java b/app/src/main/java/com/miguelbcr/ui/rx_paparazzo2/sample/AppCare.java similarity index 96% rename from app/src/main/java/com/fuck_boilerplate/rx_paparazzo/sample/AppCare.java rename to app/src/main/java/com/miguelbcr/ui/rx_paparazzo2/sample/AppCare.java index 7fae56f..d696ea0 100644 --- a/app/src/main/java/com/fuck_boilerplate/rx_paparazzo/sample/AppCare.java +++ b/app/src/main/java/com/miguelbcr/ui/rx_paparazzo2/sample/AppCare.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 FuckBoilerplate + * Copyright 2016 Miguel Garcia * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.fuck_boilerplate.rx_paparazzo.sample; +package com.miguelbcr.ui.rx_paparazzo2.sample; import android.app.Activity; import android.app.Application; diff --git a/app/src/main/java/com/fuck_boilerplate/rx_paparazzo/sample/SampleApplication.java b/app/src/main/java/com/miguelbcr/ui/rx_paparazzo2/sample/SampleApplication.java similarity index 81% rename from app/src/main/java/com/fuck_boilerplate/rx_paparazzo/sample/SampleApplication.java rename to app/src/main/java/com/miguelbcr/ui/rx_paparazzo2/sample/SampleApplication.java index c6655b4..cc7297a 100644 --- a/app/src/main/java/com/fuck_boilerplate/rx_paparazzo/sample/SampleApplication.java +++ b/app/src/main/java/com/miguelbcr/ui/rx_paparazzo2/sample/SampleApplication.java @@ -1,10 +1,10 @@ -package com.fuck_boilerplate.rx_paparazzo.sample; +package com.miguelbcr.ui.rx_paparazzo2.sample; import android.app.Activity; import android.app.Application; import android.support.annotation.Nullable; -import com.fuck_boilerplate.rx_paparazzo.RxPaparazzo; +import com.miguelbcr.ui.rx_paparazzo2.RxPaparazzo; /** * Created by miguel on 16/03/2016. diff --git a/app/src/main/java/com/fuck_boilerplate/rx_paparazzo/sample/SampleHelper.java b/app/src/main/java/com/miguelbcr/ui/rx_paparazzo2/sample/SampleHelper.java similarity index 74% rename from app/src/main/java/com/fuck_boilerplate/rx_paparazzo/sample/SampleHelper.java rename to app/src/main/java/com/miguelbcr/ui/rx_paparazzo2/sample/SampleHelper.java index b33b73e..c173296 100644 --- a/app/src/main/java/com/fuck_boilerplate/rx_paparazzo/sample/SampleHelper.java +++ b/app/src/main/java/com/miguelbcr/ui/rx_paparazzo2/sample/SampleHelper.java @@ -1,4 +1,4 @@ -package com.fuck_boilerplate.rx_paparazzo.sample; +package com.miguelbcr.ui.rx_paparazzo2.sample; public class SampleHelper { diff --git a/app/src/main/java/com/fuck_boilerplate/rx_paparazzo/sample/activities/HostActivitySampleFragment.java b/app/src/main/java/com/miguelbcr/ui/rx_paparazzo2/sample/activities/HostActivitySampleFragment.java similarity index 73% rename from app/src/main/java/com/fuck_boilerplate/rx_paparazzo/sample/activities/HostActivitySampleFragment.java rename to app/src/main/java/com/miguelbcr/ui/rx_paparazzo2/sample/activities/HostActivitySampleFragment.java index d6668b8..901a86f 100644 --- a/app/src/main/java/com/fuck_boilerplate/rx_paparazzo/sample/activities/HostActivitySampleFragment.java +++ b/app/src/main/java/com/miguelbcr/ui/rx_paparazzo2/sample/activities/HostActivitySampleFragment.java @@ -1,11 +1,11 @@ -package com.fuck_boilerplate.rx_paparazzo.sample.activities; +package com.miguelbcr.ui.rx_paparazzo2.sample.activities; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; -import com.fuck_boilerplate.rx_paparazzo.entities.size.Size; -import com.fuck_boilerplate.rx_paparazzo.sample.R; -import com.fuck_boilerplate.rx_paparazzo.sample.fragments.SampleFragment; +import com.miguelbcr.ui.rx_paparazzo2.entities.size.Size; +import com.miguelbcr.ui.rx_paparazzo2.sample.R; +import com.miguelbcr.ui.rx_paparazzo2.sample.fragments.SampleFragment; import java.util.List; diff --git a/app/src/main/java/com/fuck_boilerplate/rx_paparazzo/sample/activities/SampleActivity.java b/app/src/main/java/com/miguelbcr/ui/rx_paparazzo2/sample/activities/SampleActivity.java similarity index 93% rename from app/src/main/java/com/fuck_boilerplate/rx_paparazzo/sample/activities/SampleActivity.java rename to app/src/main/java/com/miguelbcr/ui/rx_paparazzo2/sample/activities/SampleActivity.java index d77b3fb..d2657c8 100644 --- a/app/src/main/java/com/fuck_boilerplate/rx_paparazzo/sample/activities/SampleActivity.java +++ b/app/src/main/java/com/miguelbcr/ui/rx_paparazzo2/sample/activities/SampleActivity.java @@ -1,4 +1,4 @@ -package com.fuck_boilerplate.rx_paparazzo.sample.activities; +package com.miguelbcr.ui.rx_paparazzo2.sample.activities; import android.content.res.Configuration; import android.os.Bundle; @@ -11,13 +11,13 @@ import android.widget.ImageView; import android.widget.Toast; -import com.fuck_boilerplate.rx_paparazzo.RxPaparazzo; -import com.fuck_boilerplate.rx_paparazzo.entities.size.CustomMaxSize; -import com.fuck_boilerplate.rx_paparazzo.entities.size.OriginalSize; -import com.fuck_boilerplate.rx_paparazzo.entities.size.Size; -import com.fuck_boilerplate.rx_paparazzo.entities.size.SmallSize; -import com.fuck_boilerplate.rx_paparazzo.sample.R; -import com.fuck_boilerplate.rx_paparazzo.sample.adapters.ImagesAdapter; +import com.miguelbcr.ui.rx_paparazzo2.RxPaparazzo; +import com.miguelbcr.ui.rx_paparazzo2.entities.size.CustomMaxSize; +import com.miguelbcr.ui.rx_paparazzo2.entities.size.OriginalSize; +import com.miguelbcr.ui.rx_paparazzo2.entities.size.Size; +import com.miguelbcr.ui.rx_paparazzo2.entities.size.SmallSize; +import com.miguelbcr.ui.rx_paparazzo2.sample.R; +import com.miguelbcr.ui.rx_paparazzo2.sample.adapters.ImagesAdapter; import com.squareup.picasso.Picasso; import com.yalantis.ucrop.UCrop; diff --git a/app/src/main/java/com/fuck_boilerplate/rx_paparazzo/sample/activities/StartActivity.java b/app/src/main/java/com/miguelbcr/ui/rx_paparazzo2/sample/activities/StartActivity.java similarity index 85% rename from app/src/main/java/com/fuck_boilerplate/rx_paparazzo/sample/activities/StartActivity.java rename to app/src/main/java/com/miguelbcr/ui/rx_paparazzo2/sample/activities/StartActivity.java index a2f9407..3c1e5a2 100644 --- a/app/src/main/java/com/fuck_boilerplate/rx_paparazzo/sample/activities/StartActivity.java +++ b/app/src/main/java/com/miguelbcr/ui/rx_paparazzo2/sample/activities/StartActivity.java @@ -1,10 +1,10 @@ -package com.fuck_boilerplate.rx_paparazzo.sample.activities; +package com.miguelbcr.ui.rx_paparazzo2.sample.activities; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; -import com.fuck_boilerplate.rx_paparazzo.sample.R; +import com.miguelbcr.ui.rx_paparazzo2.sample.R; public class StartActivity extends AppCompatActivity { diff --git a/app/src/main/java/com/miguelbcr/ui/rx_paparazzo2/sample/activities/Testable.java b/app/src/main/java/com/miguelbcr/ui/rx_paparazzo2/sample/activities/Testable.java new file mode 100644 index 0000000..767b972 --- /dev/null +++ b/app/src/main/java/com/miguelbcr/ui/rx_paparazzo2/sample/activities/Testable.java @@ -0,0 +1,12 @@ +package com.miguelbcr.ui.rx_paparazzo2.sample.activities; + + +import com.miguelbcr.ui.rx_paparazzo2.entities.size.Size; + +import java.util.List; + +public interface Testable { + List getFilePaths(); + + Size getSize(); +} diff --git a/app/src/main/java/com/fuck_boilerplate/rx_paparazzo/sample/adapters/ImagesAdapter.java b/app/src/main/java/com/miguelbcr/ui/rx_paparazzo2/sample/adapters/ImagesAdapter.java similarity index 92% rename from app/src/main/java/com/fuck_boilerplate/rx_paparazzo/sample/adapters/ImagesAdapter.java rename to app/src/main/java/com/miguelbcr/ui/rx_paparazzo2/sample/adapters/ImagesAdapter.java index 1795c87..aff45a5 100644 --- a/app/src/main/java/com/fuck_boilerplate/rx_paparazzo/sample/adapters/ImagesAdapter.java +++ b/app/src/main/java/com/miguelbcr/ui/rx_paparazzo2/sample/adapters/ImagesAdapter.java @@ -1,4 +1,4 @@ -package com.fuck_boilerplate.rx_paparazzo.sample.adapters; +package com.miguelbcr.ui.rx_paparazzo2.sample.adapters; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; @@ -6,7 +6,7 @@ import android.view.ViewGroup; import android.widget.ImageView; -import com.fuck_boilerplate.rx_paparazzo.sample.R; +import com.miguelbcr.ui.rx_paparazzo2.sample.R; import com.squareup.picasso.Picasso; import java.io.File; diff --git a/app/src/main/java/com/fuck_boilerplate/rx_paparazzo/sample/fragments/SampleFragment.java b/app/src/main/java/com/miguelbcr/ui/rx_paparazzo2/sample/fragments/SampleFragment.java similarity index 91% rename from app/src/main/java/com/fuck_boilerplate/rx_paparazzo/sample/fragments/SampleFragment.java rename to app/src/main/java/com/miguelbcr/ui/rx_paparazzo2/sample/fragments/SampleFragment.java index 7c8dd08..d541227 100644 --- a/app/src/main/java/com/fuck_boilerplate/rx_paparazzo/sample/fragments/SampleFragment.java +++ b/app/src/main/java/com/miguelbcr/ui/rx_paparazzo2/sample/fragments/SampleFragment.java @@ -1,4 +1,4 @@ -package com.fuck_boilerplate.rx_paparazzo.sample.fragments; +package com.miguelbcr.ui.rx_paparazzo2.sample.fragments; import android.app.Activity; import android.os.Bundle; @@ -12,14 +12,14 @@ import android.widget.ImageView; import android.widget.Toast; -import com.fuck_boilerplate.rx_paparazzo.RxPaparazzo; -import com.fuck_boilerplate.rx_paparazzo.entities.Options; -import com.fuck_boilerplate.rx_paparazzo.entities.size.OriginalSize; -import com.fuck_boilerplate.rx_paparazzo.entities.size.Size; -import com.fuck_boilerplate.rx_paparazzo.entities.size.SmallSize; -import com.fuck_boilerplate.rx_paparazzo.sample.R; -import com.fuck_boilerplate.rx_paparazzo.sample.activities.Testable; -import com.fuck_boilerplate.rx_paparazzo.sample.adapters.ImagesAdapter; +import com.miguelbcr.ui.rx_paparazzo2.RxPaparazzo; +import com.miguelbcr.ui.rx_paparazzo2.entities.Options; +import com.miguelbcr.ui.rx_paparazzo2.entities.size.OriginalSize; +import com.miguelbcr.ui.rx_paparazzo2.entities.size.Size; +import com.miguelbcr.ui.rx_paparazzo2.entities.size.SmallSize; +import com.miguelbcr.ui.rx_paparazzo2.sample.R; +import com.miguelbcr.ui.rx_paparazzo2.sample.activities.Testable; +import com.miguelbcr.ui.rx_paparazzo2.sample.adapters.ImagesAdapter; import com.squareup.picasso.Picasso; import com.yalantis.ucrop.UCrop; diff --git a/app/src/main/res/layout/host_activity_sample_fragment.xml b/app/src/main/res/layout/host_activity_sample_fragment.xml index 06a98a6..4cf9213 100644 --- a/app/src/main/res/layout/host_activity_sample_fragment.xml +++ b/app/src/main/res/layout/host_activity_sample_fragment.xml @@ -8,7 +8,7 @@ android:id="@+id/sample_fragment" android:layout_width="match_parent" android:layout_height="match_parent" - class="com.fuck_boilerplate.rx_paparazzo.sample.fragments.SampleFragment" + class="com.miguelbcr.ui.rx_paparazzo2.sample.fragments.SampleFragment" tools:layout="@layout/sample_layout" /> \ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index a143226..fdb54df 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -1,5 +1,5 @@ - RxPaparazzo + RxPaparazzo-2 Settings User canceled action User has not accepted permissions diff --git a/rx_paparazzo/build.gradle b/rx_paparazzo/build.gradle index b40c457..d74b4eb 100644 --- a/rx_paparazzo/build.gradle +++ b/rx_paparazzo/build.gradle @@ -1,7 +1,7 @@ apply plugin: 'com.android.library' apply plugin: 'com.github.dcendents.android-maven' -group='com.github.FuckBoilerplate' +group='com.github.miguelbcr' buildscript { repositories { diff --git a/rx_paparazzo/src/main/AndroidManifest.xml b/rx_paparazzo/src/main/AndroidManifest.xml index 176d0a3..543ec57 100644 --- a/rx_paparazzo/src/main/AndroidManifest.xml +++ b/rx_paparazzo/src/main/AndroidManifest.xml @@ -1,5 +1,5 @@ + package="com.miguelbcr.ui.rx_paparazzo2.library"> diff --git a/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/RxPaparazzo.java b/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/RxPaparazzo.java similarity index 92% rename from rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/RxPaparazzo.java rename to rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/RxPaparazzo.java index d4ceb0c..f543600 100644 --- a/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/RxPaparazzo.java +++ b/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/RxPaparazzo.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 FuckBoilerplate + * Copyright 2016 Miguel Garcia * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,17 +14,17 @@ * limitations under the License. */ -package com.fuck_boilerplate.rx_paparazzo; +package com.miguelbcr.ui.rx_paparazzo2; import android.app.Activity; import android.app.Application; import android.support.v4.app.Fragment; -import com.fuck_boilerplate.rx_paparazzo.entities.Config; -import com.fuck_boilerplate.rx_paparazzo.entities.Response; -import com.fuck_boilerplate.rx_paparazzo.entities.size.Size; -import com.fuck_boilerplate.rx_paparazzo.internal.di.ApplicationComponent; -import com.fuck_boilerplate.rx_paparazzo.internal.di.ApplicationModule; +import com.miguelbcr.ui.rx_paparazzo2.entities.Config; +import com.miguelbcr.ui.rx_paparazzo2.entities.Response; +import com.miguelbcr.ui.rx_paparazzo2.entities.size.Size; +import com.miguelbcr.ui.rx_paparazzo2.internal.di.ApplicationComponent; +import com.miguelbcr.ui.rx_paparazzo2.internal.di.ApplicationModule; import com.yalantis.ucrop.UCrop; import io.reactivex.Observable; diff --git a/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/entities/Config.java b/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/entities/Config.java similarity index 87% rename from rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/entities/Config.java rename to rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/entities/Config.java index 06a3f6f..1b52fe3 100644 --- a/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/entities/Config.java +++ b/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/entities/Config.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 FuckBoilerplate + * Copyright 2016 Miguel Garcia * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,10 +14,10 @@ * limitations under the License. */ -package com.fuck_boilerplate.rx_paparazzo.entities; +package com.miguelbcr.ui.rx_paparazzo2.entities; -import com.fuck_boilerplate.rx_paparazzo.entities.size.ScreenSize; -import com.fuck_boilerplate.rx_paparazzo.entities.size.Size; +import com.miguelbcr.ui.rx_paparazzo2.entities.size.ScreenSize; +import com.miguelbcr.ui.rx_paparazzo2.entities.size.Size; import com.yalantis.ucrop.UCrop; public class Config { diff --git a/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/entities/Ignore.java b/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/entities/Ignore.java similarity index 93% rename from rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/entities/Ignore.java rename to rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/entities/Ignore.java index d259bdb..86604a6 100644 --- a/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/entities/Ignore.java +++ b/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/entities/Ignore.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.fuck_boilerplate.rx_paparazzo.entities; +package com.miguelbcr.ui.rx_paparazzo2.entities; /** * A dummy value to be ignored when dealing with RxJava 2 which does not return anything useful. diff --git a/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/entities/Options.java b/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/entities/Options.java similarity index 95% rename from rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/entities/Options.java rename to rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/entities/Options.java index c03ffde..7578cc0 100644 --- a/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/entities/Options.java +++ b/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/entities/Options.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 FuckBoilerplate + * Copyright 2016 Miguel Garcia * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.fuck_boilerplate.rx_paparazzo.entities; +package com.miguelbcr.ui.rx_paparazzo2.entities; import android.support.annotation.IntRange; diff --git a/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/entities/PermissionDeniedException.java b/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/entities/PermissionDeniedException.java similarity index 88% rename from rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/entities/PermissionDeniedException.java rename to rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/entities/PermissionDeniedException.java index 7aa9ab4..8cee479 100644 --- a/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/entities/PermissionDeniedException.java +++ b/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/entities/PermissionDeniedException.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 FuckBoilerplate + * Copyright 2016 Miguel Garcia * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.fuck_boilerplate.rx_paparazzo.entities; +package com.miguelbcr.ui.rx_paparazzo2.entities; public class PermissionDeniedException extends RuntimeException { } diff --git a/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/entities/Response.java b/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/entities/Response.java similarity index 92% rename from rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/entities/Response.java rename to rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/entities/Response.java index 17e3b84..211c5e4 100644 --- a/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/entities/Response.java +++ b/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/entities/Response.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 FuckBoilerplate + * Copyright 2016 Miguel Garcia * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.fuck_boilerplate.rx_paparazzo.entities; +package com.miguelbcr.ui.rx_paparazzo2.entities; public class Response { private final T targetUI; diff --git a/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/entities/TargetUi.java b/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/entities/TargetUi.java similarity index 93% rename from rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/entities/TargetUi.java rename to rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/entities/TargetUi.java index a3952d7..b639272 100644 --- a/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/entities/TargetUi.java +++ b/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/entities/TargetUi.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 FuckBoilerplate + * Copyright 2016 Miguel Garcia * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.fuck_boilerplate.rx_paparazzo.entities; +package com.miguelbcr.ui.rx_paparazzo2.entities; import android.app.Activity; import android.content.Context; diff --git a/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/entities/UserCanceledException.java b/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/entities/UserCanceledException.java similarity index 88% rename from rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/entities/UserCanceledException.java rename to rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/entities/UserCanceledException.java index 91f24ce..7bd1c83 100644 --- a/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/entities/UserCanceledException.java +++ b/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/entities/UserCanceledException.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 FuckBoilerplate + * Copyright 2016 Miguel Garcia * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.fuck_boilerplate.rx_paparazzo.entities; +package com.miguelbcr.ui.rx_paparazzo2.entities; public class UserCanceledException extends RuntimeException { } diff --git a/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/entities/size/CustomMaxSize.java b/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/entities/size/CustomMaxSize.java similarity index 87% rename from rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/entities/size/CustomMaxSize.java rename to rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/entities/size/CustomMaxSize.java index d66530a..3f95c03 100644 --- a/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/entities/size/CustomMaxSize.java +++ b/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/entities/size/CustomMaxSize.java @@ -1,4 +1,4 @@ -package com.fuck_boilerplate.rx_paparazzo.entities.size; +package com.miguelbcr.ui.rx_paparazzo2.entities.size; /** * Scale source image proportionally. Max size of new image will be diff --git a/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/entities/size/OriginalSize.java b/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/entities/size/OriginalSize.java similarity index 61% rename from rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/entities/size/OriginalSize.java rename to rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/entities/size/OriginalSize.java index fd1a893..5562de6 100644 --- a/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/entities/size/OriginalSize.java +++ b/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/entities/size/OriginalSize.java @@ -1,4 +1,4 @@ -package com.fuck_boilerplate.rx_paparazzo.entities.size; +package com.miguelbcr.ui.rx_paparazzo2.entities.size; /** * The original size of the image. diff --git a/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/entities/size/ScreenSize.java b/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/entities/size/ScreenSize.java similarity index 64% rename from rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/entities/size/ScreenSize.java rename to rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/entities/size/ScreenSize.java index adad123..747dde3 100644 --- a/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/entities/size/ScreenSize.java +++ b/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/entities/size/ScreenSize.java @@ -1,4 +1,4 @@ -package com.fuck_boilerplate.rx_paparazzo.entities.size; +package com.miguelbcr.ui.rx_paparazzo2.entities.size; /** * The size image matches the screen resolution. diff --git a/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/entities/size/Size.java b/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/entities/size/Size.java similarity index 76% rename from rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/entities/size/Size.java rename to rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/entities/size/Size.java index 4a4f974..85ca1a1 100644 --- a/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/entities/size/Size.java +++ b/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/entities/size/Size.java @@ -1,4 +1,4 @@ -package com.fuck_boilerplate.rx_paparazzo.entities.size; +package com.miguelbcr.ui.rx_paparazzo2.entities.size; /** * Sizes that can be used to set the size of the image to retrieve after calling the camera or gallery feature. diff --git a/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/entities/size/SmallSize.java b/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/entities/size/SmallSize.java similarity index 59% rename from rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/entities/size/SmallSize.java rename to rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/entities/size/SmallSize.java index ec3932a..066f168 100644 --- a/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/entities/size/SmallSize.java +++ b/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/entities/size/SmallSize.java @@ -1,4 +1,4 @@ -package com.fuck_boilerplate.rx_paparazzo.entities.size; +package com.miguelbcr.ui.rx_paparazzo2.entities.size; /** * 1/8 of the screen resolution. diff --git a/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/interactors/Constants.java b/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/interactors/Constants.java similarity index 92% rename from rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/interactors/Constants.java rename to rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/interactors/Constants.java index 1f8b4a4..89537f4 100644 --- a/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/interactors/Constants.java +++ b/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/interactors/Constants.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 FuckBoilerplate + * Copyright 2016 Miguel Garcia * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.fuck_boilerplate.rx_paparazzo.interactors; +package com.miguelbcr.ui.rx_paparazzo2.interactors; class Constants { static final String SUBDIR = "RxPaparazzo"; diff --git a/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/interactors/CropImage.java b/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/interactors/CropImage.java similarity index 95% rename from rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/interactors/CropImage.java rename to rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/interactors/CropImage.java index b0e398d..e626e4e 100644 --- a/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/interactors/CropImage.java +++ b/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/interactors/CropImage.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 FuckBoilerplate + * Copyright 2016 Miguel Garcia * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,13 +14,13 @@ * limitations under the License. */ -package com.fuck_boilerplate.rx_paparazzo.interactors; +package com.miguelbcr.ui.rx_paparazzo2.interactors; import android.content.Intent; import android.net.Uri; -import com.fuck_boilerplate.rx_paparazzo.entities.Config; -import com.fuck_boilerplate.rx_paparazzo.entities.Options; -import com.fuck_boilerplate.rx_paparazzo.entities.TargetUi; +import com.miguelbcr.ui.rx_paparazzo2.entities.Config; +import com.miguelbcr.ui.rx_paparazzo2.entities.Options; +import com.miguelbcr.ui.rx_paparazzo2.entities.TargetUi; import com.yalantis.ucrop.UCrop; import io.reactivex.Observable; import io.reactivex.ObservableSource; diff --git a/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/interactors/DownloadImage.java b/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/interactors/DownloadImage.java similarity index 95% rename from rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/interactors/DownloadImage.java rename to rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/interactors/DownloadImage.java index ea37b98..12464ba 100644 --- a/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/interactors/DownloadImage.java +++ b/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/interactors/DownloadImage.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 FuckBoilerplate + * Copyright 2016 Miguel Garcia * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,10 +14,10 @@ * limitations under the License. */ -package com.fuck_boilerplate.rx_paparazzo.interactors; +package com.miguelbcr.ui.rx_paparazzo2.interactors; import android.net.Uri; -import com.fuck_boilerplate.rx_paparazzo.entities.TargetUi; +import com.miguelbcr.ui.rx_paparazzo2.entities.TargetUi; import io.reactivex.Observable; import io.reactivex.ObservableEmitter; import io.reactivex.ObservableOnSubscribe; diff --git a/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/interactors/GetDimens.java b/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/interactors/GetDimens.java similarity index 88% rename from rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/interactors/GetDimens.java rename to rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/interactors/GetDimens.java index ad04f1b..75fc8cd 100644 --- a/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/interactors/GetDimens.java +++ b/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/interactors/GetDimens.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 FuckBoilerplate + * Copyright 2016 Miguel Garcia * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,16 +14,16 @@ * limitations under the License. */ -package com.fuck_boilerplate.rx_paparazzo.interactors; +package com.miguelbcr.ui.rx_paparazzo2.interactors; import android.graphics.BitmapFactory; import android.net.Uri; import android.util.DisplayMetrics; -import com.fuck_boilerplate.rx_paparazzo.entities.Config; -import com.fuck_boilerplate.rx_paparazzo.entities.TargetUi; -import com.fuck_boilerplate.rx_paparazzo.entities.size.CustomMaxSize; -import com.fuck_boilerplate.rx_paparazzo.entities.size.OriginalSize; -import com.fuck_boilerplate.rx_paparazzo.entities.size.ScreenSize; +import com.miguelbcr.ui.rx_paparazzo2.entities.Config; +import com.miguelbcr.ui.rx_paparazzo2.entities.TargetUi; +import com.miguelbcr.ui.rx_paparazzo2.entities.size.CustomMaxSize; +import com.miguelbcr.ui.rx_paparazzo2.entities.size.OriginalSize; +import com.miguelbcr.ui.rx_paparazzo2.entities.size.ScreenSize; import io.reactivex.Observable; import io.reactivex.functions.Function; diff --git a/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/interactors/GetPath.java b/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/interactors/GetPath.java similarity index 97% rename from rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/interactors/GetPath.java rename to rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/interactors/GetPath.java index ed3372d..bb7bf75 100644 --- a/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/interactors/GetPath.java +++ b/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/interactors/GetPath.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 FuckBoilerplate + * Copyright 2016 Miguel Garcia * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.fuck_boilerplate.rx_paparazzo.interactors; +package com.miguelbcr.ui.rx_paparazzo2.interactors; import android.annotation.SuppressLint; import android.content.ContentUris; @@ -25,7 +25,7 @@ import android.os.Environment; import android.provider.DocumentsContract; import android.provider.MediaStore; -import com.fuck_boilerplate.rx_paparazzo.entities.TargetUi; +import com.miguelbcr.ui.rx_paparazzo2.entities.TargetUi; import io.reactivex.Observable; public final class GetPath extends UseCase { diff --git a/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/interactors/GrantPermissions.java b/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/interactors/GrantPermissions.java similarity index 85% rename from rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/interactors/GrantPermissions.java rename to rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/interactors/GrantPermissions.java index 02f2fdc..ccf62a0 100644 --- a/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/interactors/GrantPermissions.java +++ b/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/interactors/GrantPermissions.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 FuckBoilerplate + * Copyright 2016 Miguel Garcia * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,11 +14,11 @@ * limitations under the License. */ -package com.fuck_boilerplate.rx_paparazzo.interactors; +package com.miguelbcr.ui.rx_paparazzo2.interactors; -import com.fuck_boilerplate.rx_paparazzo.entities.Ignore; -import com.fuck_boilerplate.rx_paparazzo.entities.PermissionDeniedException; -import com.fuck_boilerplate.rx_paparazzo.entities.TargetUi; +import com.miguelbcr.ui.rx_paparazzo2.entities.Ignore; +import com.miguelbcr.ui.rx_paparazzo2.entities.PermissionDeniedException; +import com.miguelbcr.ui.rx_paparazzo2.entities.TargetUi; import com.tbruyelle.rxpermissions2.RxPermissions; import io.reactivex.Observable; import io.reactivex.ObservableSource; diff --git a/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/interactors/ImageUtils.java b/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/interactors/ImageUtils.java similarity index 97% rename from rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/interactors/ImageUtils.java rename to rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/interactors/ImageUtils.java index 451ecc1..761a451 100644 --- a/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/interactors/ImageUtils.java +++ b/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/interactors/ImageUtils.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 FuckBoilerplate + * Copyright 2016 Miguel Garcia * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.fuck_boilerplate.rx_paparazzo.interactors; +package com.miguelbcr.ui.rx_paparazzo2.interactors; import android.content.ContentResolver; import android.content.Context; @@ -25,9 +25,9 @@ import android.os.Environment; import android.text.TextUtils; import android.webkit.MimeTypeMap; -import com.fuck_boilerplate.rx_paparazzo.entities.Config; -import com.fuck_boilerplate.rx_paparazzo.entities.TargetUi; -import com.fuck_boilerplate.rx_paparazzo.entities.size.OriginalSize; +import com.miguelbcr.ui.rx_paparazzo2.entities.Config; +import com.miguelbcr.ui.rx_paparazzo2.entities.TargetUi; +import com.miguelbcr.ui.rx_paparazzo2.entities.size.OriginalSize; import io.reactivex.exceptions.Exceptions; import java.io.File; import java.io.FileInputStream; diff --git a/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/interactors/PickImage.java b/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/interactors/PickImage.java similarity index 96% rename from rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/interactors/PickImage.java rename to rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/interactors/PickImage.java index 43d2245..6495fe0 100644 --- a/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/interactors/PickImage.java +++ b/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/interactors/PickImage.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 FuckBoilerplate + * Copyright 2016 Miguel Garcia * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.fuck_boilerplate.rx_paparazzo.interactors; +package com.miguelbcr.ui.rx_paparazzo2.interactors; import android.app.Activity; import android.content.Intent; diff --git a/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/interactors/PickImages.java b/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/interactors/PickImages.java similarity index 96% rename from rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/interactors/PickImages.java rename to rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/interactors/PickImages.java index 2dd12cd..8d6094a 100644 --- a/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/interactors/PickImages.java +++ b/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/interactors/PickImages.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 FuckBoilerplate + * Copyright 2016 Miguel Garcia * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.fuck_boilerplate.rx_paparazzo.interactors; +package com.miguelbcr.ui.rx_paparazzo2.interactors; import android.content.ClipData; import android.content.Intent; diff --git a/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/interactors/SaveImage.java b/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/interactors/SaveImage.java similarity index 95% rename from rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/interactors/SaveImage.java rename to rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/interactors/SaveImage.java index 770eb67..aa5fbdc 100644 --- a/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/interactors/SaveImage.java +++ b/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/interactors/SaveImage.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 FuckBoilerplate + * Copyright 2016 Miguel Garcia * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,11 +14,11 @@ * limitations under the License. */ -package com.fuck_boilerplate.rx_paparazzo.interactors; +package com.miguelbcr.ui.rx_paparazzo2.interactors; import android.media.MediaScannerConnection; import android.net.Uri; -import com.fuck_boilerplate.rx_paparazzo.entities.TargetUi; +import com.miguelbcr.ui.rx_paparazzo2.entities.TargetUi; import io.reactivex.Observable; import io.reactivex.ObservableSource; import io.reactivex.functions.Function; diff --git a/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/interactors/StartIntent.java b/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/interactors/StartIntent.java similarity index 93% rename from rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/interactors/StartIntent.java rename to rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/interactors/StartIntent.java index d3ee818..3c5dc14 100644 --- a/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/interactors/StartIntent.java +++ b/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/interactors/StartIntent.java @@ -14,14 +14,14 @@ * limitations under the License. */ -package com.fuck_boilerplate.rx_paparazzo.interactors; +package com.miguelbcr.ui.rx_paparazzo2.interactors; import android.app.Activity; import android.content.Intent; import android.support.v4.app.Fragment; -import com.fuck_boilerplate.rx_paparazzo.entities.TargetUi; -import com.fuck_boilerplate.rx_paparazzo.entities.UserCanceledException; +import com.miguelbcr.ui.rx_paparazzo2.entities.TargetUi; +import com.miguelbcr.ui.rx_paparazzo2.entities.UserCanceledException; import io.reactivex.Observable; import io.reactivex.functions.Function; import rx_activity_result2.OnPreResult; diff --git a/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/interactors/TakePhoto.java b/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/interactors/TakePhoto.java similarity index 96% rename from rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/interactors/TakePhoto.java rename to rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/interactors/TakePhoto.java index 7d0dd89..168dcf8 100644 --- a/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/interactors/TakePhoto.java +++ b/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/interactors/TakePhoto.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 FuckBoilerplate + * Copyright 2016 Miguel Garcia * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.fuck_boilerplate.rx_paparazzo.interactors; +package com.miguelbcr.ui.rx_paparazzo2.interactors; import android.content.Context; import android.content.Intent; @@ -24,7 +24,7 @@ import android.os.Build; import android.provider.MediaStore; import android.support.v4.content.FileProvider; -import com.fuck_boilerplate.rx_paparazzo.entities.TargetUi; +import com.miguelbcr.ui.rx_paparazzo2.entities.TargetUi; import io.reactivex.Observable; import io.reactivex.functions.Function; import java.io.File; diff --git a/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/interactors/UseCase.java b/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/interactors/UseCase.java similarity index 88% rename from rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/interactors/UseCase.java rename to rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/interactors/UseCase.java index f96b0b8..1df6012 100644 --- a/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/interactors/UseCase.java +++ b/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/interactors/UseCase.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 FuckBoilerplate + * Copyright 2016 Miguel Garcia * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.fuck_boilerplate.rx_paparazzo.interactors; +package com.miguelbcr.ui.rx_paparazzo2.interactors; import io.reactivex.Observable; diff --git a/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/internal/di/ApplicationComponent.java b/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/internal/di/ApplicationComponent.java similarity index 77% rename from rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/internal/di/ApplicationComponent.java rename to rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/internal/di/ApplicationComponent.java index 6df8f20..b23673f 100644 --- a/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/internal/di/ApplicationComponent.java +++ b/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/internal/di/ApplicationComponent.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 FuckBoilerplate + * Copyright 2016 Miguel Garcia * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,11 +14,11 @@ * limitations under the License. */ -package com.fuck_boilerplate.rx_paparazzo.internal.di; +package com.miguelbcr.ui.rx_paparazzo2.internal.di; -import com.fuck_boilerplate.rx_paparazzo.interactors.GetPath; -import com.fuck_boilerplate.rx_paparazzo.workers.Camera; -import com.fuck_boilerplate.rx_paparazzo.workers.Gallery; +import com.miguelbcr.ui.rx_paparazzo2.interactors.GetPath; +import com.miguelbcr.ui.rx_paparazzo2.workers.Camera; +import com.miguelbcr.ui.rx_paparazzo2.workers.Gallery; public abstract class ApplicationComponent { diff --git a/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/internal/di/ApplicationComponentImpl.java b/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/internal/di/ApplicationComponentImpl.java similarity index 63% rename from rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/internal/di/ApplicationComponentImpl.java rename to rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/internal/di/ApplicationComponentImpl.java index 99596d7..98362ba 100644 --- a/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/internal/di/ApplicationComponentImpl.java +++ b/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/internal/di/ApplicationComponentImpl.java @@ -1,21 +1,21 @@ -package com.fuck_boilerplate.rx_paparazzo.internal.di; +package com.miguelbcr.ui.rx_paparazzo2.internal.di; -import com.fuck_boilerplate.rx_paparazzo.entities.Config; -import com.fuck_boilerplate.rx_paparazzo.entities.TargetUi; -import com.fuck_boilerplate.rx_paparazzo.interactors.CropImage; -import com.fuck_boilerplate.rx_paparazzo.interactors.DownloadImage; -import com.fuck_boilerplate.rx_paparazzo.interactors.ImageUtils; -import com.fuck_boilerplate.rx_paparazzo.interactors.GetDimens; -import com.fuck_boilerplate.rx_paparazzo.interactors.GetPath; -import com.fuck_boilerplate.rx_paparazzo.interactors.GrantPermissions; -import com.fuck_boilerplate.rx_paparazzo.interactors.PickImage; -import com.fuck_boilerplate.rx_paparazzo.interactors.PickImages; -import com.fuck_boilerplate.rx_paparazzo.interactors.SaveImage; -import com.fuck_boilerplate.rx_paparazzo.interactors.StartIntent; -import com.fuck_boilerplate.rx_paparazzo.interactors.TakePhoto; -import com.fuck_boilerplate.rx_paparazzo.workers.Camera; -import com.fuck_boilerplate.rx_paparazzo.workers.Gallery; +import com.miguelbcr.ui.rx_paparazzo2.entities.Config; +import com.miguelbcr.ui.rx_paparazzo2.entities.TargetUi; +import com.miguelbcr.ui.rx_paparazzo2.interactors.CropImage; +import com.miguelbcr.ui.rx_paparazzo2.interactors.DownloadImage; +import com.miguelbcr.ui.rx_paparazzo2.interactors.ImageUtils; +import com.miguelbcr.ui.rx_paparazzo2.interactors.GetDimens; +import com.miguelbcr.ui.rx_paparazzo2.interactors.GetPath; +import com.miguelbcr.ui.rx_paparazzo2.interactors.GrantPermissions; +import com.miguelbcr.ui.rx_paparazzo2.interactors.PickImage; +import com.miguelbcr.ui.rx_paparazzo2.interactors.PickImages; +import com.miguelbcr.ui.rx_paparazzo2.interactors.SaveImage; +import com.miguelbcr.ui.rx_paparazzo2.interactors.StartIntent; +import com.miguelbcr.ui.rx_paparazzo2.interactors.TakePhoto; +import com.miguelbcr.ui.rx_paparazzo2.workers.Camera; +import com.miguelbcr.ui.rx_paparazzo2.workers.Gallery; class ApplicationComponentImpl extends ApplicationComponent { private final ImageUtils imageUtils; diff --git a/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/internal/di/ApplicationModule.java b/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/internal/di/ApplicationModule.java similarity index 81% rename from rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/internal/di/ApplicationModule.java rename to rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/internal/di/ApplicationModule.java index 86fa7d8..bebba49 100644 --- a/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/internal/di/ApplicationModule.java +++ b/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/internal/di/ApplicationModule.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 FuckBoilerplate + * Copyright 2016 Miguel Garcia * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,10 +14,10 @@ * limitations under the License. */ -package com.fuck_boilerplate.rx_paparazzo.internal.di; +package com.miguelbcr.ui.rx_paparazzo2.internal.di; -import com.fuck_boilerplate.rx_paparazzo.entities.Config; -import com.fuck_boilerplate.rx_paparazzo.entities.TargetUi; +import com.miguelbcr.ui.rx_paparazzo2.entities.Config; +import com.miguelbcr.ui.rx_paparazzo2.entities.TargetUi; public class ApplicationModule { diff --git a/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/workers/Camera.java b/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/workers/Camera.java similarity index 88% rename from rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/workers/Camera.java rename to rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/workers/Camera.java index 8901b3f..610fd14 100644 --- a/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/workers/Camera.java +++ b/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/workers/Camera.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 FuckBoilerplate + * Copyright 2016 Miguel Garcia * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,21 +14,21 @@ * limitations under the License. */ -package com.fuck_boilerplate.rx_paparazzo.workers; +package com.miguelbcr.ui.rx_paparazzo2.workers; import android.Manifest; import android.app.Activity; import android.content.pm.PackageInfo; import android.content.pm.PackageManager; import android.net.Uri; -import com.fuck_boilerplate.rx_paparazzo.entities.Config; -import com.fuck_boilerplate.rx_paparazzo.entities.Ignore; -import com.fuck_boilerplate.rx_paparazzo.entities.Response; -import com.fuck_boilerplate.rx_paparazzo.entities.TargetUi; -import com.fuck_boilerplate.rx_paparazzo.interactors.CropImage; -import com.fuck_boilerplate.rx_paparazzo.interactors.GrantPermissions; -import com.fuck_boilerplate.rx_paparazzo.interactors.SaveImage; -import com.fuck_boilerplate.rx_paparazzo.interactors.TakePhoto; +import com.miguelbcr.ui.rx_paparazzo2.entities.Config; +import com.miguelbcr.ui.rx_paparazzo2.entities.Ignore; +import com.miguelbcr.ui.rx_paparazzo2.entities.Response; +import com.miguelbcr.ui.rx_paparazzo2.entities.TargetUi; +import com.miguelbcr.ui.rx_paparazzo2.interactors.CropImage; +import com.miguelbcr.ui.rx_paparazzo2.interactors.GrantPermissions; +import com.miguelbcr.ui.rx_paparazzo2.interactors.SaveImage; +import com.miguelbcr.ui.rx_paparazzo2.interactors.TakePhoto; import io.reactivex.Observable; import io.reactivex.ObservableSource; import io.reactivex.functions.Function; diff --git a/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/workers/Gallery.java b/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/workers/Gallery.java similarity index 87% rename from rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/workers/Gallery.java rename to rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/workers/Gallery.java index 71e9559..bb21b00 100644 --- a/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/workers/Gallery.java +++ b/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/workers/Gallery.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 FuckBoilerplate + * Copyright 2016 Miguel Garcia * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,25 +14,24 @@ * limitations under the License. */ -package com.fuck_boilerplate.rx_paparazzo.workers; +package com.miguelbcr.ui.rx_paparazzo2.workers; import android.Manifest; import android.app.Activity; import android.net.Uri; -import com.fuck_boilerplate.rx_paparazzo.entities.Config; -import com.fuck_boilerplate.rx_paparazzo.entities.Ignore; -import com.fuck_boilerplate.rx_paparazzo.entities.Response; -import com.fuck_boilerplate.rx_paparazzo.entities.TargetUi; -import com.fuck_boilerplate.rx_paparazzo.interactors.CropImage; -import com.fuck_boilerplate.rx_paparazzo.interactors.GrantPermissions; -import com.fuck_boilerplate.rx_paparazzo.interactors.PickImage; -import com.fuck_boilerplate.rx_paparazzo.interactors.PickImages; -import com.fuck_boilerplate.rx_paparazzo.interactors.SaveImage; +import com.miguelbcr.ui.rx_paparazzo2.entities.Config; +import com.miguelbcr.ui.rx_paparazzo2.entities.Ignore; +import com.miguelbcr.ui.rx_paparazzo2.entities.Response; +import com.miguelbcr.ui.rx_paparazzo2.entities.TargetUi; +import com.miguelbcr.ui.rx_paparazzo2.interactors.CropImage; +import com.miguelbcr.ui.rx_paparazzo2.interactors.GrantPermissions; +import com.miguelbcr.ui.rx_paparazzo2.interactors.PickImage; +import com.miguelbcr.ui.rx_paparazzo2.interactors.PickImages; +import com.miguelbcr.ui.rx_paparazzo2.interactors.SaveImage; import io.reactivex.Observable; import io.reactivex.ObservableSource; -import io.reactivex.SingleTransformer; import io.reactivex.functions.Function; import java.util.List; diff --git a/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/workers/Worker.java b/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/workers/Worker.java similarity index 82% rename from rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/workers/Worker.java rename to rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/workers/Worker.java index f638c2f..33f0e3d 100644 --- a/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/workers/Worker.java +++ b/rx_paparazzo/src/main/java/com/miguelbcr/ui/rx_paparazzo2/workers/Worker.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 FuckBoilerplate + * Copyright 2016 Miguel Garcia * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,15 +14,15 @@ * limitations under the License. */ -package com.fuck_boilerplate.rx_paparazzo.workers; +package com.miguelbcr.ui.rx_paparazzo2.workers; import android.app.Activity; -import com.fuck_boilerplate.rx_paparazzo.RxPaparazzo; -import com.fuck_boilerplate.rx_paparazzo.entities.PermissionDeniedException; -import com.fuck_boilerplate.rx_paparazzo.entities.Response; -import com.fuck_boilerplate.rx_paparazzo.entities.TargetUi; -import com.fuck_boilerplate.rx_paparazzo.entities.UserCanceledException; +import com.miguelbcr.ui.rx_paparazzo2.RxPaparazzo; +import com.miguelbcr.ui.rx_paparazzo2.entities.PermissionDeniedException; +import com.miguelbcr.ui.rx_paparazzo2.entities.Response; +import com.miguelbcr.ui.rx_paparazzo2.entities.TargetUi; +import com.miguelbcr.ui.rx_paparazzo2.entities.UserCanceledException; import io.reactivex.Observable; import io.reactivex.ObservableSource; import io.reactivex.ObservableTransformer;