diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 000000000..aa289c3d1 Binary files /dev/null and b/.DS_Store differ diff --git a/App_Santander_Test/.DS_Store b/App_Santander_Test/.DS_Store new file mode 100644 index 000000000..be41c3fc6 Binary files /dev/null and b/App_Santander_Test/.DS_Store differ diff --git a/App_Santander_Test/.gradle/6.5/executionHistory/executionHistory.bin b/App_Santander_Test/.gradle/6.5/executionHistory/executionHistory.bin new file mode 100644 index 000000000..854b81912 Binary files /dev/null and b/App_Santander_Test/.gradle/6.5/executionHistory/executionHistory.bin differ diff --git a/App_Santander_Test/.gradle/6.5/executionHistory/executionHistory.lock b/App_Santander_Test/.gradle/6.5/executionHistory/executionHistory.lock new file mode 100644 index 000000000..204050030 Binary files /dev/null and b/App_Santander_Test/.gradle/6.5/executionHistory/executionHistory.lock differ diff --git a/App_Santander_Test/.gradle/6.5/fileChanges/last-build.bin b/App_Santander_Test/.gradle/6.5/fileChanges/last-build.bin new file mode 100644 index 000000000..f76dd238a Binary files /dev/null and b/App_Santander_Test/.gradle/6.5/fileChanges/last-build.bin differ diff --git a/App_Santander_Test/.gradle/6.5/fileContent/fileContent.lock b/App_Santander_Test/.gradle/6.5/fileContent/fileContent.lock new file mode 100644 index 000000000..50217151e Binary files /dev/null and b/App_Santander_Test/.gradle/6.5/fileContent/fileContent.lock differ diff --git a/App_Santander_Test/.gradle/6.5/fileHashes/fileHashes.bin b/App_Santander_Test/.gradle/6.5/fileHashes/fileHashes.bin new file mode 100644 index 000000000..aecae23bd Binary files /dev/null and b/App_Santander_Test/.gradle/6.5/fileHashes/fileHashes.bin differ diff --git a/App_Santander_Test/.gradle/6.5/fileHashes/fileHashes.lock b/App_Santander_Test/.gradle/6.5/fileHashes/fileHashes.lock new file mode 100644 index 000000000..1b37cded2 Binary files /dev/null and b/App_Santander_Test/.gradle/6.5/fileHashes/fileHashes.lock differ diff --git a/App_Santander_Test/.gradle/6.5/fileHashes/resourceHashesCache.bin b/App_Santander_Test/.gradle/6.5/fileHashes/resourceHashesCache.bin new file mode 100644 index 000000000..8ae9d0558 Binary files /dev/null and b/App_Santander_Test/.gradle/6.5/fileHashes/resourceHashesCache.bin differ diff --git a/App_Santander_Test/.gradle/6.5/gc.properties b/App_Santander_Test/.gradle/6.5/gc.properties new file mode 100644 index 000000000..e69de29bb diff --git a/App_Santander_Test/.gradle/6.5/javaCompile/classAnalysis.bin b/App_Santander_Test/.gradle/6.5/javaCompile/classAnalysis.bin new file mode 100644 index 000000000..6c2076f27 Binary files /dev/null and b/App_Santander_Test/.gradle/6.5/javaCompile/classAnalysis.bin differ diff --git a/App_Santander_Test/.gradle/6.5/javaCompile/jarAnalysis.bin b/App_Santander_Test/.gradle/6.5/javaCompile/jarAnalysis.bin new file mode 100644 index 000000000..3c719d344 Binary files /dev/null and b/App_Santander_Test/.gradle/6.5/javaCompile/jarAnalysis.bin differ diff --git a/App_Santander_Test/.gradle/6.5/javaCompile/javaCompile.lock b/App_Santander_Test/.gradle/6.5/javaCompile/javaCompile.lock new file mode 100644 index 000000000..e9a9c4cfa Binary files /dev/null and b/App_Santander_Test/.gradle/6.5/javaCompile/javaCompile.lock differ diff --git a/App_Santander_Test/.gradle/6.5/javaCompile/taskHistory.bin b/App_Santander_Test/.gradle/6.5/javaCompile/taskHistory.bin new file mode 100644 index 000000000..964ac90a1 Binary files /dev/null and b/App_Santander_Test/.gradle/6.5/javaCompile/taskHistory.bin differ diff --git a/App_Santander_Test/.gradle/buildOutputCleanup/buildOutputCleanup.lock b/App_Santander_Test/.gradle/buildOutputCleanup/buildOutputCleanup.lock new file mode 100644 index 000000000..241f61d28 Binary files /dev/null and b/App_Santander_Test/.gradle/buildOutputCleanup/buildOutputCleanup.lock differ diff --git a/App_Santander_Test/.gradle/buildOutputCleanup/cache.properties b/App_Santander_Test/.gradle/buildOutputCleanup/cache.properties new file mode 100644 index 000000000..934e7bead --- /dev/null +++ b/App_Santander_Test/.gradle/buildOutputCleanup/cache.properties @@ -0,0 +1,2 @@ +#Thu Dec 10 11:21:36 BRT 2020 +gradle.version=6.5 diff --git a/App_Santander_Test/.gradle/buildOutputCleanup/outputFiles.bin b/App_Santander_Test/.gradle/buildOutputCleanup/outputFiles.bin new file mode 100644 index 000000000..bc88c59fb Binary files /dev/null and b/App_Santander_Test/.gradle/buildOutputCleanup/outputFiles.bin differ diff --git a/App_Santander_Test/.gradle/checksums/checksums.lock b/App_Santander_Test/.gradle/checksums/checksums.lock new file mode 100644 index 000000000..ea5b00202 Binary files /dev/null and b/App_Santander_Test/.gradle/checksums/checksums.lock differ diff --git a/App_Santander_Test/.gradle/checksums/md5-checksums.bin b/App_Santander_Test/.gradle/checksums/md5-checksums.bin new file mode 100644 index 000000000..b3b216aa6 Binary files /dev/null and b/App_Santander_Test/.gradle/checksums/md5-checksums.bin differ diff --git a/App_Santander_Test/.gradle/checksums/sha1-checksums.bin b/App_Santander_Test/.gradle/checksums/sha1-checksums.bin new file mode 100644 index 000000000..ce3f08bc9 Binary files /dev/null and b/App_Santander_Test/.gradle/checksums/sha1-checksums.bin differ diff --git a/App_Santander_Test/.gradle/vcs-1/gc.properties b/App_Santander_Test/.gradle/vcs-1/gc.properties new file mode 100644 index 000000000..e69de29bb diff --git a/App_Santander_Test/.idea/.gitignore b/App_Santander_Test/.idea/.gitignore new file mode 100644 index 000000000..26d33521a --- /dev/null +++ b/App_Santander_Test/.idea/.gitignore @@ -0,0 +1,3 @@ +# Default ignored files +/shelf/ +/workspace.xml diff --git a/App_Santander_Test/.idea/.name b/App_Santander_Test/.idea/.name new file mode 100644 index 000000000..f47047cc4 --- /dev/null +++ b/App_Santander_Test/.idea/.name @@ -0,0 +1 @@ +bankapp \ No newline at end of file diff --git a/App_Santander_Test/.idea/caches/build_file_checksums.ser b/App_Santander_Test/.idea/caches/build_file_checksums.ser new file mode 100644 index 000000000..cda917e10 Binary files /dev/null and b/App_Santander_Test/.idea/caches/build_file_checksums.ser differ diff --git a/App_Santander_Test/.idea/compiler.xml b/App_Santander_Test/.idea/compiler.xml new file mode 100644 index 000000000..61a9130cd --- /dev/null +++ b/App_Santander_Test/.idea/compiler.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/gradle.xml b/App_Santander_Test/.idea/gradle.xml new file mode 100644 index 000000000..18de3ac5f --- /dev/null +++ b/App_Santander_Test/.idea/gradle.xml @@ -0,0 +1,21 @@ + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/jarRepositories.xml b/App_Santander_Test/.idea/jarRepositories.xml new file mode 100644 index 000000000..a866c0254 --- /dev/null +++ b/App_Santander_Test/.idea/jarRepositories.xml @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__androidx_activity_activity_1_0_0_aar.xml b/App_Santander_Test/.idea/libraries/Gradle__androidx_activity_activity_1_0_0_aar.xml new file mode 100644 index 000000000..8b05f7ba4 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__androidx_activity_activity_1_0_0_aar.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__androidx_annotation_annotation_1_1_0.xml b/App_Santander_Test/.idea/libraries/Gradle__androidx_annotation_annotation_1_1_0.xml new file mode 100644 index 000000000..b2158ac95 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__androidx_annotation_annotation_1_1_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__androidx_annotation_annotation_experimental_1_0_0_aar.xml b/App_Santander_Test/.idea/libraries/Gradle__androidx_annotation_annotation_experimental_1_0_0_aar.xml new file mode 100644 index 000000000..69c3eecdc --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__androidx_annotation_annotation_experimental_1_0_0_aar.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__androidx_appcompat_appcompat_1_2_0_aar.xml b/App_Santander_Test/.idea/libraries/Gradle__androidx_appcompat_appcompat_1_2_0_aar.xml new file mode 100644 index 000000000..c71f0ee5e --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__androidx_appcompat_appcompat_1_2_0_aar.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__androidx_appcompat_appcompat_resources_1_2_0_aar.xml b/App_Santander_Test/.idea/libraries/Gradle__androidx_appcompat_appcompat_resources_1_2_0_aar.xml new file mode 100644 index 000000000..41d63b843 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__androidx_appcompat_appcompat_resources_1_2_0_aar.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__androidx_arch_core_core_common_2_1_0.xml b/App_Santander_Test/.idea/libraries/Gradle__androidx_arch_core_core_common_2_1_0.xml new file mode 100644 index 000000000..220841523 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__androidx_arch_core_core_common_2_1_0.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__androidx_arch_core_core_runtime_2_0_0_aar.xml b/App_Santander_Test/.idea/libraries/Gradle__androidx_arch_core_core_runtime_2_0_0_aar.xml new file mode 100644 index 000000000..310b5902a --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__androidx_arch_core_core_runtime_2_0_0_aar.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__androidx_asynclayoutinflater_asynclayoutinflater_1_0_0_aar.xml b/App_Santander_Test/.idea/libraries/Gradle__androidx_asynclayoutinflater_asynclayoutinflater_1_0_0_aar.xml new file mode 100644 index 000000000..c2382b751 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__androidx_asynclayoutinflater_asynclayoutinflater_1_0_0_aar.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__androidx_cardview_cardview_1_0_0_aar.xml b/App_Santander_Test/.idea/libraries/Gradle__androidx_cardview_cardview_1_0_0_aar.xml new file mode 100644 index 000000000..c72c8c0db --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__androidx_cardview_cardview_1_0_0_aar.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__androidx_collection_collection_1_1_0.xml b/App_Santander_Test/.idea/libraries/Gradle__androidx_collection_collection_1_1_0.xml new file mode 100644 index 000000000..eafc05e94 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__androidx_collection_collection_1_1_0.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__androidx_constraintlayout_constraintlayout_2_0_4_aar.xml b/App_Santander_Test/.idea/libraries/Gradle__androidx_constraintlayout_constraintlayout_2_0_4_aar.xml new file mode 100644 index 000000000..c06b0cef7 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__androidx_constraintlayout_constraintlayout_2_0_4_aar.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__androidx_constraintlayout_constraintlayout_solver_2_0_4.xml b/App_Santander_Test/.idea/libraries/Gradle__androidx_constraintlayout_constraintlayout_solver_2_0_4.xml new file mode 100644 index 000000000..cba1dae0d --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__androidx_constraintlayout_constraintlayout_solver_2_0_4.xml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__androidx_coordinatorlayout_coordinatorlayout_1_1_0_aar.xml b/App_Santander_Test/.idea/libraries/Gradle__androidx_coordinatorlayout_coordinatorlayout_1_1_0_aar.xml new file mode 100644 index 000000000..f992fe746 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__androidx_coordinatorlayout_coordinatorlayout_1_1_0_aar.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__androidx_core_core_1_3_1_aar.xml b/App_Santander_Test/.idea/libraries/Gradle__androidx_core_core_1_3_1_aar.xml new file mode 100644 index 000000000..261a9faf5 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__androidx_core_core_1_3_1_aar.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__androidx_cursoradapter_cursoradapter_1_0_0_aar.xml b/App_Santander_Test/.idea/libraries/Gradle__androidx_cursoradapter_cursoradapter_1_0_0_aar.xml new file mode 100644 index 000000000..ad10ba276 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__androidx_cursoradapter_cursoradapter_1_0_0_aar.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__androidx_customview_customview_1_0_0_aar.xml b/App_Santander_Test/.idea/libraries/Gradle__androidx_customview_customview_1_0_0_aar.xml new file mode 100644 index 000000000..c89a2e1c3 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__androidx_customview_customview_1_0_0_aar.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__androidx_databinding_viewbinding_4_1_1_aar.xml b/App_Santander_Test/.idea/libraries/Gradle__androidx_databinding_viewbinding_4_1_1_aar.xml new file mode 100644 index 000000000..73d49b998 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__androidx_databinding_viewbinding_4_1_1_aar.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__androidx_documentfile_documentfile_1_0_0_aar.xml b/App_Santander_Test/.idea/libraries/Gradle__androidx_documentfile_documentfile_1_0_0_aar.xml new file mode 100644 index 000000000..dbc3dd9c2 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__androidx_documentfile_documentfile_1_0_0_aar.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__androidx_drawerlayout_drawerlayout_1_0_0_aar.xml b/App_Santander_Test/.idea/libraries/Gradle__androidx_drawerlayout_drawerlayout_1_0_0_aar.xml new file mode 100644 index 000000000..57e7d004a --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__androidx_drawerlayout_drawerlayout_1_0_0_aar.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__androidx_fragment_fragment_1_1_0_aar.xml b/App_Santander_Test/.idea/libraries/Gradle__androidx_fragment_fragment_1_1_0_aar.xml new file mode 100644 index 000000000..50aae89ea --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__androidx_fragment_fragment_1_1_0_aar.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__androidx_interpolator_interpolator_1_0_0_aar.xml b/App_Santander_Test/.idea/libraries/Gradle__androidx_interpolator_interpolator_1_0_0_aar.xml new file mode 100644 index 000000000..f0f9a1651 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__androidx_interpolator_interpolator_1_0_0_aar.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__androidx_legacy_legacy_support_core_ui_1_0_0_aar.xml b/App_Santander_Test/.idea/libraries/Gradle__androidx_legacy_legacy_support_core_ui_1_0_0_aar.xml new file mode 100644 index 000000000..34c3e8abc --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__androidx_legacy_legacy_support_core_ui_1_0_0_aar.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__androidx_legacy_legacy_support_core_utils_1_0_0_aar.xml b/App_Santander_Test/.idea/libraries/Gradle__androidx_legacy_legacy_support_core_utils_1_0_0_aar.xml new file mode 100644 index 000000000..8f319b773 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__androidx_legacy_legacy_support_core_utils_1_0_0_aar.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__androidx_legacy_legacy_support_v4_1_0_0_aar.xml b/App_Santander_Test/.idea/libraries/Gradle__androidx_legacy_legacy_support_v4_1_0_0_aar.xml new file mode 100644 index 000000000..63ea026c6 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__androidx_legacy_legacy_support_v4_1_0_0_aar.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__androidx_lifecycle_lifecycle_common_2_1_0.xml b/App_Santander_Test/.idea/libraries/Gradle__androidx_lifecycle_lifecycle_common_2_1_0.xml new file mode 100644 index 000000000..9354d4462 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__androidx_lifecycle_lifecycle_common_2_1_0.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__androidx_lifecycle_lifecycle_livedata_2_0_0_aar.xml b/App_Santander_Test/.idea/libraries/Gradle__androidx_lifecycle_lifecycle_livedata_2_0_0_aar.xml new file mode 100644 index 000000000..09e7fdc29 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__androidx_lifecycle_lifecycle_livedata_2_0_0_aar.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__androidx_lifecycle_lifecycle_livedata_core_2_0_0_aar.xml b/App_Santander_Test/.idea/libraries/Gradle__androidx_lifecycle_lifecycle_livedata_core_2_0_0_aar.xml new file mode 100644 index 000000000..3d1ea9dd1 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__androidx_lifecycle_lifecycle_livedata_core_2_0_0_aar.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__androidx_lifecycle_lifecycle_runtime_2_1_0_aar.xml b/App_Santander_Test/.idea/libraries/Gradle__androidx_lifecycle_lifecycle_runtime_2_1_0_aar.xml new file mode 100644 index 000000000..ab5c59712 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__androidx_lifecycle_lifecycle_runtime_2_1_0_aar.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__androidx_lifecycle_lifecycle_viewmodel_2_1_0_aar.xml b/App_Santander_Test/.idea/libraries/Gradle__androidx_lifecycle_lifecycle_viewmodel_2_1_0_aar.xml new file mode 100644 index 000000000..821498222 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__androidx_lifecycle_lifecycle_viewmodel_2_1_0_aar.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__androidx_loader_loader_1_0_0_aar.xml b/App_Santander_Test/.idea/libraries/Gradle__androidx_loader_loader_1_0_0_aar.xml new file mode 100644 index 000000000..f2e41c4c9 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__androidx_loader_loader_1_0_0_aar.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__androidx_localbroadcastmanager_localbroadcastmanager_1_0_0_aar.xml b/App_Santander_Test/.idea/libraries/Gradle__androidx_localbroadcastmanager_localbroadcastmanager_1_0_0_aar.xml new file mode 100644 index 000000000..f93f15129 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__androidx_localbroadcastmanager_localbroadcastmanager_1_0_0_aar.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__androidx_media_media_1_0_0_aar.xml b/App_Santander_Test/.idea/libraries/Gradle__androidx_media_media_1_0_0_aar.xml new file mode 100644 index 000000000..a933272e9 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__androidx_media_media_1_0_0_aar.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__androidx_multidex_multidex_2_0_0_aar.xml b/App_Santander_Test/.idea/libraries/Gradle__androidx_multidex_multidex_2_0_0_aar.xml new file mode 100644 index 000000000..9c34e1883 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__androidx_multidex_multidex_2_0_0_aar.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__androidx_multidex_multidex_instrumentation_2_0_0_aar.xml b/App_Santander_Test/.idea/libraries/Gradle__androidx_multidex_multidex_instrumentation_2_0_0_aar.xml new file mode 100644 index 000000000..cbba69a70 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__androidx_multidex_multidex_instrumentation_2_0_0_aar.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__androidx_print_print_1_0_0_aar.xml b/App_Santander_Test/.idea/libraries/Gradle__androidx_print_print_1_0_0_aar.xml new file mode 100644 index 000000000..7cf5068ae --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__androidx_print_print_1_0_0_aar.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__androidx_recyclerview_recyclerview_1_1_0_aar.xml b/App_Santander_Test/.idea/libraries/Gradle__androidx_recyclerview_recyclerview_1_1_0_aar.xml new file mode 100644 index 000000000..4d73c7650 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__androidx_recyclerview_recyclerview_1_1_0_aar.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__androidx_savedstate_savedstate_1_0_0_aar.xml b/App_Santander_Test/.idea/libraries/Gradle__androidx_savedstate_savedstate_1_0_0_aar.xml new file mode 100644 index 000000000..fcb15bfcb --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__androidx_savedstate_savedstate_1_0_0_aar.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__androidx_slidingpanelayout_slidingpanelayout_1_0_0_aar.xml b/App_Santander_Test/.idea/libraries/Gradle__androidx_slidingpanelayout_slidingpanelayout_1_0_0_aar.xml new file mode 100644 index 000000000..18191030e --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__androidx_slidingpanelayout_slidingpanelayout_1_0_0_aar.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__androidx_swiperefreshlayout_swiperefreshlayout_1_0_0_aar.xml b/App_Santander_Test/.idea/libraries/Gradle__androidx_swiperefreshlayout_swiperefreshlayout_1_0_0_aar.xml new file mode 100644 index 000000000..b7c01f75e --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__androidx_swiperefreshlayout_swiperefreshlayout_1_0_0_aar.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__androidx_test_core_1_2_0_aar.xml b/App_Santander_Test/.idea/libraries/Gradle__androidx_test_core_1_2_0_aar.xml new file mode 100644 index 000000000..9aa2b0b43 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__androidx_test_core_1_2_0_aar.xml @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__androidx_test_espresso_espresso_core_3_2_0_aar.xml b/App_Santander_Test/.idea/libraries/Gradle__androidx_test_espresso_espresso_core_3_2_0_aar.xml new file mode 100644 index 000000000..75f00b245 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__androidx_test_espresso_espresso_core_3_2_0_aar.xml @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__androidx_test_espresso_espresso_idling_resource_3_2_0_aar.xml b/App_Santander_Test/.idea/libraries/Gradle__androidx_test_espresso_espresso_idling_resource_3_2_0_aar.xml new file mode 100644 index 000000000..fa099ce10 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__androidx_test_espresso_espresso_idling_resource_3_2_0_aar.xml @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__androidx_test_ext_junit_1_1_1_aar.xml b/App_Santander_Test/.idea/libraries/Gradle__androidx_test_ext_junit_1_1_1_aar.xml new file mode 100644 index 000000000..22b2eba14 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__androidx_test_ext_junit_1_1_1_aar.xml @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__androidx_test_monitor_1_2_0_aar.xml b/App_Santander_Test/.idea/libraries/Gradle__androidx_test_monitor_1_2_0_aar.xml new file mode 100644 index 000000000..cbf238055 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__androidx_test_monitor_1_2_0_aar.xml @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__androidx_test_monitor_1_3_0_rc03_aar.xml b/App_Santander_Test/.idea/libraries/Gradle__androidx_test_monitor_1_3_0_rc03_aar.xml new file mode 100644 index 000000000..9331af1a8 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__androidx_test_monitor_1_3_0_rc03_aar.xml @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__androidx_test_rules_1_1_0_alpha3_aar.xml b/App_Santander_Test/.idea/libraries/Gradle__androidx_test_rules_1_1_0_alpha3_aar.xml new file mode 100644 index 000000000..4f4b42943 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__androidx_test_rules_1_1_0_alpha3_aar.xml @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__androidx_test_runner_1_2_0_aar.xml b/App_Santander_Test/.idea/libraries/Gradle__androidx_test_runner_1_2_0_aar.xml new file mode 100644 index 000000000..afcd0e7f6 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__androidx_test_runner_1_2_0_aar.xml @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__androidx_transition_transition_1_2_0_aar.xml b/App_Santander_Test/.idea/libraries/Gradle__androidx_transition_transition_1_2_0_aar.xml new file mode 100644 index 000000000..724ed77ca --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__androidx_transition_transition_1_2_0_aar.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__androidx_vectordrawable_vectordrawable_1_1_0_aar.xml b/App_Santander_Test/.idea/libraries/Gradle__androidx_vectordrawable_vectordrawable_1_1_0_aar.xml new file mode 100644 index 000000000..138ef8e4b --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__androidx_vectordrawable_vectordrawable_1_1_0_aar.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__androidx_vectordrawable_vectordrawable_animated_1_1_0_aar.xml b/App_Santander_Test/.idea/libraries/Gradle__androidx_vectordrawable_vectordrawable_animated_1_1_0_aar.xml new file mode 100644 index 000000000..a52f60a04 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__androidx_vectordrawable_vectordrawable_animated_1_1_0_aar.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__androidx_versionedparcelable_versionedparcelable_1_1_0_aar.xml b/App_Santander_Test/.idea/libraries/Gradle__androidx_versionedparcelable_versionedparcelable_1_1_0_aar.xml new file mode 100644 index 000000000..dbf4bce7b --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__androidx_versionedparcelable_versionedparcelable_1_1_0_aar.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__androidx_viewpager2_viewpager2_1_0_0_aar.xml b/App_Santander_Test/.idea/libraries/Gradle__androidx_viewpager2_viewpager2_1_0_0_aar.xml new file mode 100644 index 000000000..df0b82490 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__androidx_viewpager2_viewpager2_1_0_0_aar.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__androidx_viewpager_viewpager_1_0_0_aar.xml b/App_Santander_Test/.idea/libraries/Gradle__androidx_viewpager_viewpager_1_0_0_aar.xml new file mode 100644 index 000000000..0b0b19d20 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__androidx_viewpager_viewpager_1_0_0_aar.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__com_almworks_sqlite4java_sqlite4java_0_282.xml b/App_Santander_Test/.idea/libraries/Gradle__com_almworks_sqlite4java_sqlite4java_0_282.xml new file mode 100644 index 000000000..d6d593b4d --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__com_almworks_sqlite4java_sqlite4java_0_282.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__com_facebook_stetho_stetho_1_5_1_aar.xml b/App_Santander_Test/.idea/libraries/Gradle__com_facebook_stetho_stetho_1_5_1_aar.xml new file mode 100644 index 000000000..20ea0e9e2 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__com_facebook_stetho_stetho_1_5_1_aar.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__com_facebook_stetho_stetho_okhttp3_1_5_1_aar.xml b/App_Santander_Test/.idea/libraries/Gradle__com_facebook_stetho_stetho_okhttp3_1_5_1_aar.xml new file mode 100644 index 000000000..7529a7884 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__com_facebook_stetho_stetho_okhttp3_1_5_1_aar.xml @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__com_getkeepsafe_relinker_relinker_1_3_0_aar.xml b/App_Santander_Test/.idea/libraries/Gradle__com_getkeepsafe_relinker_relinker_1_3_0_aar.xml new file mode 100644 index 000000000..9aa6444fb --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__com_getkeepsafe_relinker_relinker_1_3_0_aar.xml @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__com_google_android_material_material_1_2_1_aar.xml b/App_Santander_Test/.idea/libraries/Gradle__com_google_android_material_material_1_2_1_aar.xml new file mode 100644 index 000000000..554075202 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__com_google_android_material_material_1_2_1_aar.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__com_google_auto_value_auto_value_annotations_1_6_2.xml b/App_Santander_Test/.idea/libraries/Gradle__com_google_auto_value_auto_value_annotations_1_6_2.xml new file mode 100644 index 000000000..1f835901b --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__com_google_auto_value_auto_value_annotations_1_6_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__com_google_code_findbugs_jsr305_3_0_2.xml b/App_Santander_Test/.idea/libraries/Gradle__com_google_code_findbugs_jsr305_3_0_2.xml new file mode 100644 index 000000000..a96d7252f --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__com_google_code_findbugs_jsr305_3_0_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__com_google_code_gson_gson_2_7.xml b/App_Santander_Test/.idea/libraries/Gradle__com_google_code_gson_gson_2_7.xml new file mode 100644 index 000000000..0a6ccc425 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__com_google_code_gson_gson_2_7.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__com_google_dagger_dagger_2_24.xml b/App_Santander_Test/.idea/libraries/Gradle__com_google_dagger_dagger_2_24.xml new file mode 100644 index 000000000..5d3636298 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__com_google_dagger_dagger_2_24.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__com_google_errorprone_error_prone_annotations_2_2_0.xml b/App_Santander_Test/.idea/libraries/Gradle__com_google_errorprone_error_prone_annotations_2_2_0.xml new file mode 100644 index 000000000..9aaff30ab --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__com_google_errorprone_error_prone_annotations_2_2_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__com_google_guava_failureaccess_1_0_1.xml b/App_Santander_Test/.idea/libraries/Gradle__com_google_guava_failureaccess_1_0_1.xml new file mode 100644 index 000000000..aeb2fc76b --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__com_google_guava_failureaccess_1_0_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__com_google_guava_guava_27_0_1_jre.xml b/App_Santander_Test/.idea/libraries/Gradle__com_google_guava_guava_27_0_1_jre.xml new file mode 100644 index 000000000..bb089ad96 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__com_google_guava_guava_27_0_1_jre.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__com_google_guava_listenablefuture_9999_0_empty_to_avoid_conflict_with_guava.xml b/App_Santander_Test/.idea/libraries/Gradle__com_google_guava_listenablefuture_9999_0_empty_to_avoid_conflict_with_guava.xml new file mode 100644 index 000000000..11f8cce03 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__com_google_guava_listenablefuture_9999_0_empty_to_avoid_conflict_with_guava.xml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__com_google_j2objc_j2objc_annotations_1_1.xml b/App_Santander_Test/.idea/libraries/Gradle__com_google_j2objc_j2objc_annotations_1_1.xml new file mode 100644 index 000000000..51270bf85 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__com_google_j2objc_j2objc_annotations_1_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__com_ibm_icu_icu4j_53_1.xml b/App_Santander_Test/.idea/libraries/Gradle__com_ibm_icu_icu4j_53_1.xml new file mode 100644 index 000000000..d8c1108c5 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__com_ibm_icu_icu4j_53_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__com_jakewharton_android_repackaged_dalvik_dx_1.xml b/App_Santander_Test/.idea/libraries/Gradle__com_jakewharton_android_repackaged_dalvik_dx_1.xml new file mode 100644 index 000000000..e0f16c5aa --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__com_jakewharton_android_repackaged_dalvik_dx_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__com_jakewharton_android_repackaged_libcore_dex_2.xml b/App_Santander_Test/.idea/libraries/Gradle__com_jakewharton_android_repackaged_libcore_dex_2.xml new file mode 100644 index 000000000..930a998f1 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__com_jakewharton_android_repackaged_libcore_dex_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__com_jakewharton_butterknife_8_1_0_aar.xml b/App_Santander_Test/.idea/libraries/Gradle__com_jakewharton_butterknife_8_1_0_aar.xml new file mode 100644 index 000000000..f03613b5c --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__com_jakewharton_butterknife_8_1_0_aar.xml @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__com_jakewharton_butterknife_annotations_8_1_0.xml b/App_Santander_Test/.idea/libraries/Gradle__com_jakewharton_butterknife_annotations_8_1_0.xml new file mode 100644 index 000000000..d5f786e46 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__com_jakewharton_butterknife_annotations_8_1_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__com_squareup_javawriter_2_1_1.xml b/App_Santander_Test/.idea/libraries/Gradle__com_squareup_javawriter_2_1_1.xml new file mode 100644 index 000000000..662b001e8 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__com_squareup_javawriter_2_1_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__com_squareup_okhttp3_logging_interceptor_3_4_2.xml b/App_Santander_Test/.idea/libraries/Gradle__com_squareup_okhttp3_logging_interceptor_3_4_2.xml new file mode 100644 index 000000000..b698725ec --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__com_squareup_okhttp3_logging_interceptor_3_4_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__com_squareup_okhttp3_okhttp_3_8_0.xml b/App_Santander_Test/.idea/libraries/Gradle__com_squareup_okhttp3_okhttp_3_8_0.xml new file mode 100644 index 000000000..093005fd8 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__com_squareup_okhttp3_okhttp_3_8_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__com_squareup_okio_okio_1_13_0.xml b/App_Santander_Test/.idea/libraries/Gradle__com_squareup_okio_okio_1_13_0.xml new file mode 100644 index 000000000..913412c09 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__com_squareup_okio_okio_1_13_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__com_squareup_retrofit2_adapter_rxjava2_2_3_0.xml b/App_Santander_Test/.idea/libraries/Gradle__com_squareup_retrofit2_adapter_rxjava2_2_3_0.xml new file mode 100644 index 000000000..cfe6de512 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__com_squareup_retrofit2_adapter_rxjava2_2_3_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__com_squareup_retrofit2_converter_gson_2_3_0.xml b/App_Santander_Test/.idea/libraries/Gradle__com_squareup_retrofit2_converter_gson_2_3_0.xml new file mode 100644 index 000000000..dd8e26892 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__com_squareup_retrofit2_converter_gson_2_3_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__com_squareup_retrofit2_converter_scalars_2_1_0.xml b/App_Santander_Test/.idea/libraries/Gradle__com_squareup_retrofit2_converter_scalars_2_1_0.xml new file mode 100644 index 000000000..3d379cd7f --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__com_squareup_retrofit2_converter_scalars_2_1_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__com_squareup_retrofit2_converter_simplexml_2_1_0.xml b/App_Santander_Test/.idea/libraries/Gradle__com_squareup_retrofit2_converter_simplexml_2_1_0.xml new file mode 100644 index 000000000..be6cf5473 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__com_squareup_retrofit2_converter_simplexml_2_1_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__com_squareup_retrofit2_retrofit_2_3_0.xml b/App_Santander_Test/.idea/libraries/Gradle__com_squareup_retrofit2_retrofit_2_3_0.xml new file mode 100644 index 000000000..9185989ed --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__com_squareup_retrofit2_retrofit_2_3_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__commons_cli_commons_cli_1_2.xml b/App_Santander_Test/.idea/libraries/Gradle__commons_cli_commons_cli_1_2.xml new file mode 100644 index 000000000..2e557f17e --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__commons_cli_commons_cli_1_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__io_reactivex_rxandroid_1_1_0_aar.xml b/App_Santander_Test/.idea/libraries/Gradle__io_reactivex_rxandroid_1_1_0_aar.xml new file mode 100644 index 000000000..50803d693 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__io_reactivex_rxandroid_1_1_0_aar.xml @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__io_reactivex_rxjava2_rxjava_2_0_0.xml b/App_Santander_Test/.idea/libraries/Gradle__io_reactivex_rxjava2_rxjava_2_0_0.xml new file mode 100644 index 000000000..51336bbf5 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__io_reactivex_rxjava2_rxjava_2_0_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__io_reactivex_rxjava_1_1_0.xml b/App_Santander_Test/.idea/libraries/Gradle__io_reactivex_rxjava_1_1_0.xml new file mode 100644 index 000000000..bbe310920 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__io_reactivex_rxjava_1_1_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__io_realm_realm_android_library_6_0_2_aar.xml b/App_Santander_Test/.idea/libraries/Gradle__io_realm_realm_android_library_6_0_2_aar.xml new file mode 100644 index 000000000..cd5315bc3 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__io_realm_realm_android_library_6_0_2_aar.xml @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__io_realm_realm_annotations_6_0_2.xml b/App_Santander_Test/.idea/libraries/Gradle__io_realm_realm_annotations_6_0_2.xml new file mode 100644 index 000000000..b1060e587 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__io_realm_realm_annotations_6_0_2.xml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__javax_annotation_javax_annotation_api_1_3_2.xml b/App_Santander_Test/.idea/libraries/Gradle__javax_annotation_javax_annotation_api_1_3_2.xml new file mode 100644 index 000000000..10c781322 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__javax_annotation_javax_annotation_api_1_3_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__javax_inject_javax_inject_1.xml b/App_Santander_Test/.idea/libraries/Gradle__javax_inject_javax_inject_1.xml new file mode 100644 index 000000000..62012eaf8 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__javax_inject_javax_inject_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__junit_junit_4_12.xml b/App_Santander_Test/.idea/libraries/Gradle__junit_junit_4_12.xml new file mode 100644 index 000000000..6c078d62b --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__junit_junit_4_12.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__net_bytebuddy_byte_buddy_1_9_10.xml b/App_Santander_Test/.idea/libraries/Gradle__net_bytebuddy_byte_buddy_1_9_10.xml new file mode 100644 index 000000000..cb99df1c6 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__net_bytebuddy_byte_buddy_1_9_10.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__net_bytebuddy_byte_buddy_agent_1_9_10.xml b/App_Santander_Test/.idea/libraries/Gradle__net_bytebuddy_byte_buddy_agent_1_9_10.xml new file mode 100644 index 000000000..c28171554 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__net_bytebuddy_byte_buddy_agent_1_9_10.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__net_bytebuddy_byte_buddy_android_1_9_10.xml b/App_Santander_Test/.idea/libraries/Gradle__net_bytebuddy_byte_buddy_android_1_9_10.xml new file mode 100644 index 000000000..c0c710794 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__net_bytebuddy_byte_buddy_android_1_9_10.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__net_sf_kxml_kxml2_2_3_0.xml b/App_Santander_Test/.idea/libraries/Gradle__net_sf_kxml_kxml2_2_3_0.xml new file mode 100644 index 000000000..fbe96970d --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__net_sf_kxml_kxml2_2_3_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__org_bouncycastle_bcprov_jdk15on_1_65.xml b/App_Santander_Test/.idea/libraries/Gradle__org_bouncycastle_bcprov_jdk15on_1_65.xml new file mode 100644 index 000000000..03bd52e16 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__org_bouncycastle_bcprov_jdk15on_1_65.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__org_checkerframework_checker_qual_2_5_2.xml b/App_Santander_Test/.idea/libraries/Gradle__org_checkerframework_checker_qual_2_5_2.xml new file mode 100644 index 000000000..3029dfeb1 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__org_checkerframework_checker_qual_2_5_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__org_codehaus_mojo_animal_sniffer_annotations_1_17.xml b/App_Santander_Test/.idea/libraries/Gradle__org_codehaus_mojo_animal_sniffer_annotations_1_17.xml new file mode 100644 index 000000000..63ace9155 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__org_codehaus_mojo_animal_sniffer_annotations_1_17.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml b/App_Santander_Test/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml new file mode 100644 index 000000000..09cf23d1b --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__org_hamcrest_hamcrest_integration_1_3.xml b/App_Santander_Test/.idea/libraries/Gradle__org_hamcrest_hamcrest_integration_1_3.xml new file mode 100644 index 000000000..1a77dd835 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__org_hamcrest_hamcrest_integration_1_3.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__org_hamcrest_hamcrest_library_1_3.xml b/App_Santander_Test/.idea/libraries/Gradle__org_hamcrest_hamcrest_library_1_3.xml new file mode 100644 index 000000000..3d45e8e99 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__org_hamcrest_hamcrest_library_1_3.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__org_mockito_mockito_android_2_28_2.xml b/App_Santander_Test/.idea/libraries/Gradle__org_mockito_mockito_android_2_28_2.xml new file mode 100644 index 000000000..726f9a4b6 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__org_mockito_mockito_android_2_28_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__org_mockito_mockito_core_2_28_2.xml b/App_Santander_Test/.idea/libraries/Gradle__org_mockito_mockito_core_2_28_2.xml new file mode 100644 index 000000000..1e41346d6 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__org_mockito_mockito_core_2_28_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__org_mockito_mockito_inline_2_28_2.xml b/App_Santander_Test/.idea/libraries/Gradle__org_mockito_mockito_inline_2_28_2.xml new file mode 100644 index 000000000..f82a7184e --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__org_mockito_mockito_inline_2_28_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__org_objenesis_objenesis_2_6.xml b/App_Santander_Test/.idea/libraries/Gradle__org_objenesis_objenesis_2_6.xml new file mode 100644 index 000000000..325842cda --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__org_objenesis_objenesis_2_6.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__org_ow2_asm_asm_7_2.xml b/App_Santander_Test/.idea/libraries/Gradle__org_ow2_asm_asm_7_2.xml new file mode 100644 index 000000000..e17ac09fb --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__org_ow2_asm_asm_7_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__org_ow2_asm_asm_analysis_7_2.xml b/App_Santander_Test/.idea/libraries/Gradle__org_ow2_asm_asm_analysis_7_2.xml new file mode 100644 index 000000000..953e62cc0 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__org_ow2_asm_asm_analysis_7_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__org_ow2_asm_asm_commons_7_2.xml b/App_Santander_Test/.idea/libraries/Gradle__org_ow2_asm_asm_commons_7_2.xml new file mode 100644 index 000000000..08b2a26f0 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__org_ow2_asm_asm_commons_7_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__org_ow2_asm_asm_tree_7_2.xml b/App_Santander_Test/.idea/libraries/Gradle__org_ow2_asm_asm_tree_7_2.xml new file mode 100644 index 000000000..8766543e3 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__org_ow2_asm_asm_tree_7_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__org_ow2_asm_asm_util_7_2.xml b/App_Santander_Test/.idea/libraries/Gradle__org_ow2_asm_asm_util_7_2.xml new file mode 100644 index 000000000..da22ff0a7 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__org_ow2_asm_asm_util_7_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__org_robolectric_annotations_4_4.xml b/App_Santander_Test/.idea/libraries/Gradle__org_robolectric_annotations_4_4.xml new file mode 100644 index 000000000..4fc49c2b0 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__org_robolectric_annotations_4_4.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__org_robolectric_junit_4_4.xml b/App_Santander_Test/.idea/libraries/Gradle__org_robolectric_junit_4_4.xml new file mode 100644 index 000000000..d120ebc28 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__org_robolectric_junit_4_4.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__org_robolectric_pluginapi_4_4.xml b/App_Santander_Test/.idea/libraries/Gradle__org_robolectric_pluginapi_4_4.xml new file mode 100644 index 000000000..c82a9b128 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__org_robolectric_pluginapi_4_4.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__org_robolectric_plugins_maven_dependency_resolver_4_4.xml b/App_Santander_Test/.idea/libraries/Gradle__org_robolectric_plugins_maven_dependency_resolver_4_4.xml new file mode 100644 index 000000000..6b3d32f51 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__org_robolectric_plugins_maven_dependency_resolver_4_4.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__org_robolectric_resources_4_4.xml b/App_Santander_Test/.idea/libraries/Gradle__org_robolectric_resources_4_4.xml new file mode 100644 index 000000000..91db845a7 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__org_robolectric_resources_4_4.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__org_robolectric_robolectric_4_4.xml b/App_Santander_Test/.idea/libraries/Gradle__org_robolectric_robolectric_4_4.xml new file mode 100644 index 000000000..e2fa8b42d --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__org_robolectric_robolectric_4_4.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__org_robolectric_sandbox_4_4.xml b/App_Santander_Test/.idea/libraries/Gradle__org_robolectric_sandbox_4_4.xml new file mode 100644 index 000000000..ee415fc6f --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__org_robolectric_sandbox_4_4.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__org_robolectric_shadowapi_4_4.xml b/App_Santander_Test/.idea/libraries/Gradle__org_robolectric_shadowapi_4_4.xml new file mode 100644 index 000000000..520d9dba1 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__org_robolectric_shadowapi_4_4.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__org_robolectric_shadows_framework_4_4.xml b/App_Santander_Test/.idea/libraries/Gradle__org_robolectric_shadows_framework_4_4.xml new file mode 100644 index 000000000..ed7a96ba1 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__org_robolectric_shadows_framework_4_4.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__org_robolectric_utils_4_4.xml b/App_Santander_Test/.idea/libraries/Gradle__org_robolectric_utils_4_4.xml new file mode 100644 index 000000000..9d9857bd8 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__org_robolectric_utils_4_4.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__org_robolectric_utils_reflector_4_4.xml b/App_Santander_Test/.idea/libraries/Gradle__org_robolectric_utils_reflector_4_4.xml new file mode 100644 index 000000000..b73097493 --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__org_robolectric_utils_reflector_4_4.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/libraries/Gradle__org_simpleframework_simple_xml_2_7_1.xml b/App_Santander_Test/.idea/libraries/Gradle__org_simpleframework_simple_xml_2_7_1.xml new file mode 100644 index 000000000..97fec23ca --- /dev/null +++ b/App_Santander_Test/.idea/libraries/Gradle__org_simpleframework_simple_xml_2_7_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/markdown-navigator-enh.xml b/App_Santander_Test/.idea/markdown-navigator-enh.xml new file mode 100644 index 000000000..a8fcc84db --- /dev/null +++ b/App_Santander_Test/.idea/markdown-navigator-enh.xml @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/markdown-navigator.xml b/App_Santander_Test/.idea/markdown-navigator.xml new file mode 100644 index 000000000..57b84e5aa --- /dev/null +++ b/App_Santander_Test/.idea/markdown-navigator.xml @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/misc.xml b/App_Santander_Test/.idea/misc.xml new file mode 100644 index 000000000..d5d35ec44 --- /dev/null +++ b/App_Santander_Test/.idea/misc.xml @@ -0,0 +1,9 @@ + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/modules.xml b/App_Santander_Test/.idea/modules.xml new file mode 100644 index 000000000..4d0d634ad --- /dev/null +++ b/App_Santander_Test/.idea/modules.xml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/modules/app/bankapp.app.iml b/App_Santander_Test/.idea/modules/app/bankapp.app.iml new file mode 100644 index 000000000..67e2ff7e8 --- /dev/null +++ b/App_Santander_Test/.idea/modules/app/bankapp.app.iml @@ -0,0 +1,167 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/modules/bankapp.iml b/App_Santander_Test/.idea/modules/bankapp.iml new file mode 100644 index 000000000..7e26b0e52 --- /dev/null +++ b/App_Santander_Test/.idea/modules/bankapp.iml @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/.idea/vcs.xml b/App_Santander_Test/.idea/vcs.xml new file mode 100644 index 000000000..35eb1ddfb --- /dev/null +++ b/App_Santander_Test/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/LICENSE b/App_Santander_Test/LICENSE new file mode 100644 index 000000000..261eeb9e9 --- /dev/null +++ b/App_Santander_Test/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/App_Santander_Test/README.md b/App_Santander_Test/README.md new file mode 100644 index 000000000..9e8f0286a --- /dev/null +++ b/App_Santander_Test/README.md @@ -0,0 +1,33 @@ +# appBank_Santander + +Teste realizado por Ivan Costa em 10 de dezembro de 2020; + +A arquitetura utilizada para desenvolvimento do App foi uma arquitetura limpa/hexagonal, baseada em MVP. + +A estrutura do app está divida em alguns pacotes principais, sendo eles: + +- Adapter - que contém uma classe adapter para o objeto Statement que será exibido na tela por meio de uma recycler view +- Api - Que contém boa parte da arquitetura, sendo responsável por configurar e estabelecer a conexão com as Apis; +- Dagger - Onde estão as classes responsáveis por implementar toda parte de programação Reativa utilizando RxAndroid. +- Database - Importante para a manutenção e Persistência de Dados utilizando o Realm; +- Infraestrutura - Com uma classe WorkerOperator que instancia um Observable para testes; +- Model - Criação de modelos de objetos que são consumidos dentro do app, como User e Statement; +- Utils - Classes utilizadas para formatação de campos e validação de força de senha; +- View - Package onde estão contidas as classes referentes a camada de UI da aplicação. + +Para testar o funcionamento das chamadas de API, utilizei os dados que estavam pré-cadastrados no json enviado e adicionei mais alguns. +Para testar, utilizar o usuário test_user com senha Test@123 + +A validação de senha também foi feita. Para que o usuário consiga se logar, solicito uma senha com pelo menos 8 caracteres, uma letra maíuscula e um caracter especial. Sem isso, +é retornado um toast informando que é necessário adicionar uma senha forte. + +Fiz uma validação para campo vazio. Caso o usuário não preencha um dos campos, é retornado para ele a necessidade de preencher esses campos. + +O preenchimento dos dados vindos da api de Statements é feito por meio de um recycler view. O adapter recebe os dados que vem da api por meio de uma chamada +ao Retrofit e seta esses dados na tela num fragment que foi criado (uma espécie de card). + +Nas chamadas ao Retrofit, também utilizei Clean Architeture. As chamadas são feitas em background e os objetos são setados na tela +sem oneração ao processamento do App. As chamadas estão sendo realizadas na classe BreedApiService, que está +dentro do repositório Api. + +Com relação aos testes, implementei os testes unitários do próprio Android, além do Junit, o Espresso, o Mockito e o Hamcrest. diff --git a/App_Santander_Test/app/.DS_Store b/App_Santander_Test/app/.DS_Store new file mode 100644 index 000000000..74191dd36 Binary files /dev/null and b/App_Santander_Test/app/.DS_Store differ diff --git a/App_Santander_Test/app/.gitignore b/App_Santander_Test/app/.gitignore new file mode 100644 index 000000000..42afabfd2 --- /dev/null +++ b/App_Santander_Test/app/.gitignore @@ -0,0 +1 @@ +/build \ No newline at end of file diff --git a/App_Santander_Test/app/build.gradle b/App_Santander_Test/app/build.gradle new file mode 100644 index 000000000..37bce0096 --- /dev/null +++ b/App_Santander_Test/app/build.gradle @@ -0,0 +1,107 @@ +apply plugin: 'com.android.application' +apply plugin: 'realm-android' + +android { + compileSdkVersion 30 + buildToolsVersion "30.0.2" + + defaultConfig { + applicationId "com.ivan.bankapp" + minSdkVersion 19 + targetSdkVersion 30 + versionCode 1 + versionName "1.0" + multiDexEnabled true + + testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" + + packagingOptions{ + exclude 'META-INF/rxjava.properties' + } + } + + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' + } + } + compileOptions { + sourceCompatibility JavaVersion.VERSION_1_8 + targetCompatibility JavaVersion.VERSION_1_8 + } + + lintOptions { + abortOnError false + } + + buildFeatures { + viewBinding = true + } + + packagingOptions { + exclude 'META-INF/services/javax.annotation.processing.Processor' + exclude 'META-INF/LICENSE' + exclude 'META-INF/LICENSE.txt' + } +} + +dependencies { + + implementation 'androidx.appcompat:appcompat:1.2.0' + implementation 'com.google.android.material:material:1.2.1' + implementation 'androidx.constraintlayout:constraintlayout:2.0.4' + + //Arquitetura and Api Call + implementation 'com.squareup.retrofit2:retrofit:2.3.0' + implementation 'com.squareup.retrofit2:adapter-rxjava2:2.3.0' + implementation 'com.squareup.retrofit2:converter-gson:2.3.0' + compileOnly 'com.android.support:support-annotations:25.3.1' + + //Rx + implementation 'io.reactivex:rxandroid:1.1.0' + implementation 'io.reactivex:rxjava:1.1.0' + + + //Dagger + implementation 'com.google.dagger:dagger:2.24' + implementation 'androidx.legacy:legacy-support-v4:1.0.0' + annotationProcessor 'com.google.dagger:dagger-compiler:2.24' + + //ButterKnife + + implementation 'com.jakewharton:butterknife:8.1.0' + annotationProcessor 'com.jakewharton:butterknife-compiler:8.1.0' + + //Tests + testImplementation 'junit:junit:4.+' + androidTestImplementation 'androidx.test.ext:junit:1.1.1' + androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0' + testImplementation 'org.mockito:mockito-core:2.28.2' + androidTestImplementation 'org.mockito:mockito-android:2.28.2' + testImplementation 'org.mockito:mockito-inline:2.28.2' + testImplementation 'org.robolectric:robolectric:4.4' + androidTestImplementation 'com.android.support.test:runner:0.3' + androidTestImplementation 'com.android.support.test:rules:0.3' + androidTestImplementation 'org.hamcrest:hamcrest-library:1.1' + + //Retrofit + + def RETROFIT_VERSION = "2.1.0" + compile "com.squareup.retrofit2:retrofit:${RETROFIT_VERSION}" + compile "com.squareup.retrofit2:converter-gson:${RETROFIT_VERSION}" + compile "com.squareup.retrofit2:converter-scalars:${RETROFIT_VERSION}" + compile("com.squareup.retrofit2:converter-simplexml:${RETROFIT_VERSION}") { + exclude group: 'xpp3', module: 'xpp3' + exclude group: 'stax', module: 'stax-api' + exclude group: 'stax', module: 'stax' + } + + //Observable + + def OKHTTP_VERSION = "3.4.2" + compile "com.squareup.okhttp3:okhttp:${OKHTTP_VERSION}" + compile "com.squareup.okhttp3:logging-interceptor:${OKHTTP_VERSION}" + implementation 'com.facebook.stetho:stetho:1.5.1' + implementation 'com.facebook.stetho:stetho-okhttp3:1.5.1' +} \ No newline at end of file diff --git a/App_Santander_Test/app/proguard-rules.pro b/App_Santander_Test/app/proguard-rules.pro new file mode 100644 index 000000000..481bb4348 --- /dev/null +++ b/App_Santander_Test/app/proguard-rules.pro @@ -0,0 +1,21 @@ +# Add project specific ProGuard rules here. +# You can control the set of applied configuration files using the +# proguardFiles setting in build.gradle. +# +# For more details, see +# http://developer.android.com/guide/developing/tools/proguard.html + +# If your project uses WebView with JS, uncomment the following +# and specify the fully qualified class name to the JavaScript interface +# class: +#-keepclassmembers class fqcn.of.javascript.interface.for.webview { +# public *; +#} + +# Uncomment this to preserve the line number information for +# debugging stack traces. +#-keepattributes SourceFile,LineNumberTable + +# If you keep the line number information, uncomment this to +# hide the original source file name. +#-renamesourcefileattribute SourceFile \ No newline at end of file diff --git a/App_Santander_Test/app/src/.DS_Store b/App_Santander_Test/app/src/.DS_Store new file mode 100644 index 000000000..21590c6a4 Binary files /dev/null and b/App_Santander_Test/app/src/.DS_Store differ diff --git a/App_Santander_Test/app/src/androidTest/java/com/ivan/bankapp/ExampleInstrumentedTest.java b/App_Santander_Test/app/src/androidTest/java/com/ivan/bankapp/ExampleInstrumentedTest.java new file mode 100644 index 000000000..b66d48616 --- /dev/null +++ b/App_Santander_Test/app/src/androidTest/java/com/ivan/bankapp/ExampleInstrumentedTest.java @@ -0,0 +1,26 @@ +package com.ivan.bankapp; + +import android.content.Context; + +import androidx.test.platform.app.InstrumentationRegistry; +import androidx.test.ext.junit.runners.AndroidJUnit4; + +import org.junit.Test; +import org.junit.runner.RunWith; + +import static org.junit.Assert.*; + +/** + * Instrumented test, which will execute on an Android device. + * + * @see Testing documentation + */ +@RunWith(AndroidJUnit4.class) +public class ExampleInstrumentedTest { + @Test + public void useAppContext() { + // Context of the app under test. + Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); + assertEquals("com.ivan.bankapp", appContext.getPackageName()); + } +} \ No newline at end of file diff --git a/App_Santander_Test/app/src/main/.DS_Store b/App_Santander_Test/app/src/main/.DS_Store new file mode 100644 index 000000000..7d1fe1992 Binary files /dev/null and b/App_Santander_Test/app/src/main/.DS_Store differ diff --git a/App_Santander_Test/app/src/main/AndroidManifest.xml b/App_Santander_Test/app/src/main/AndroidManifest.xml new file mode 100644 index 000000000..4df59b14a --- /dev/null +++ b/App_Santander_Test/app/src/main/AndroidManifest.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/app/src/main/java/.DS_Store b/App_Santander_Test/app/src/main/java/.DS_Store new file mode 100644 index 000000000..793b98017 Binary files /dev/null and b/App_Santander_Test/app/src/main/java/.DS_Store differ diff --git a/App_Santander_Test/app/src/main/java/com/.DS_Store b/App_Santander_Test/app/src/main/java/com/.DS_Store new file mode 100644 index 000000000..a23325ca2 Binary files /dev/null and b/App_Santander_Test/app/src/main/java/com/.DS_Store differ diff --git a/App_Santander_Test/app/src/main/java/com/ivan/.DS_Store b/App_Santander_Test/app/src/main/java/com/ivan/.DS_Store new file mode 100644 index 000000000..b5f0555d8 Binary files /dev/null and b/App_Santander_Test/app/src/main/java/com/ivan/.DS_Store differ diff --git a/App_Santander_Test/app/src/main/java/com/ivan/bankapp/.DS_Store b/App_Santander_Test/app/src/main/java/com/ivan/bankapp/.DS_Store new file mode 100644 index 000000000..c8610cd6c Binary files /dev/null and b/App_Santander_Test/app/src/main/java/com/ivan/bankapp/.DS_Store differ diff --git a/App_Santander_Test/app/src/main/java/com/ivan/bankapp/App.java b/App_Santander_Test/app/src/main/java/com/ivan/bankapp/App.java new file mode 100644 index 000000000..a17b08e60 --- /dev/null +++ b/App_Santander_Test/app/src/main/java/com/ivan/bankapp/App.java @@ -0,0 +1,33 @@ +package com.ivan.bankapp; + +import android.app.Application; + +import java.lang.ref.WeakReference; + +import io.realm.Realm; +import io.realm.RealmConfiguration; + +public class App extends Application { + + private static WeakReference instance; + + @Override + public void onCreate() { + super.onCreate(); + + instance = new WeakReference(this); + + Realm.init(this); + RealmConfiguration realmConfig = new RealmConfiguration.Builder() + .name("bankApp.realm") + .schemaVersion(0) + .build(); + Realm.setDefaultConfiguration(realmConfig); + + } + + public static Application getInstance() { + return instance != null ? instance.get() : null; + } + +} \ No newline at end of file diff --git a/App_Santander_Test/app/src/main/java/com/ivan/bankapp/adapter/BillAdapter.java b/App_Santander_Test/app/src/main/java/com/ivan/bankapp/adapter/BillAdapter.java new file mode 100644 index 000000000..015ac0044 --- /dev/null +++ b/App_Santander_Test/app/src/main/java/com/ivan/bankapp/adapter/BillAdapter.java @@ -0,0 +1,81 @@ +package com.ivan.bankapp.adapter; + +import android.content.Context; +import android.graphics.Bitmap; +import android.view.LayoutInflater; +import android.view.View; +import android.view.ViewGroup; +import android.widget.Filter; +import android.widget.Filterable; +import android.widget.FrameLayout; +import android.widget.ImageView; +import android.widget.TextView; + +import androidx.annotation.NonNull; +import androidx.recyclerview.widget.RecyclerView; + +import com.ivan.bankapp.R; +import com.ivan.bankapp.view.fragment.FragmentBills; + +import java.util.ArrayList; +import java.util.List; + +public class BillAdapter extends RecyclerView.Adapter { + private ArrayList billsList; + private Context context; + private TextView billDescription, billDate, billValue, billTitle; + + + public BillAdapter(@NonNull ArrayList list) { + + billsList = new ArrayList<>(); + + for(int i = 0; i getStatements( + @Path("id") Integer id + ); + + @FormUrlEncoded + @POST("login") + Call login( + @Field("user") String user, + @Field("password") String password + ); +} diff --git a/App_Santander_Test/app/src/main/java/com/ivan/bankapp/api/BreedApiService.java b/App_Santander_Test/app/src/main/java/com/ivan/bankapp/api/BreedApiService.java new file mode 100644 index 000000000..259f5e142 --- /dev/null +++ b/App_Santander_Test/app/src/main/java/com/ivan/bankapp/api/BreedApiService.java @@ -0,0 +1,82 @@ +package com.ivan.bankapp.api; + +import android.widget.Toast; + +import androidx.annotation.NonNull; + +import com.ivan.bankapp.App; +import com.ivan.bankapp.model.StatementList; +import com.ivan.bankapp.model.User; +import com.ivan.bankapp.view.presentation.Login; +import com.ivan.bankapp.view.presentation.MainActivity; +import retrofit2.Call; +import retrofit2.Callback; +import retrofit2.Response; + +public class BreedApiService { + + Login loginPage; + MainActivity mainPage; + + public void getStatement(final NetworkResponseListener listener, Api api) { + + int userID = mainPage.getUserID(); + + Call call = api.getStatements(userID); + call.enqueue(new Callback() { + @Override + public void onResponse(@NonNull Call call, @NonNull Response response) { + if (listener != null) { + listener.onResponseReceived(response.body()); + } + } + + @Override + public void onFailure(@NonNull Call call, @NonNull Throwable t) { + if (App.getInstance() != null) { + Toast.makeText( + App.getInstance(), + "An error occurred: " + t.getMessage(), + Toast.LENGTH_SHORT + ).show(); + } + + if (listener != null) { + listener.onError(); + } + } + }); + } + + public void login(final NetworkResponseListener listener, Api api) { + + String user = loginPage.getUsername(); + String password = loginPage.getPassword(); + + + Call call = api.login(user, password); + call.enqueue(new Callback() { + @Override + public void onResponse(@NonNull Call call, @NonNull Response response) { + if (listener != null) { + listener.onResponseReceived(response.body()); + } + } + + @Override + public void onFailure(@NonNull Call call, @NonNull Throwable t) { + if (App.getInstance() != null) { + Toast.makeText( + App.getInstance(), + "An error occurred: " + t.getMessage(), + Toast.LENGTH_SHORT + ).show(); + } + + if (listener != null) { + listener.onError(); + } + } + }); + } +} \ No newline at end of file diff --git a/App_Santander_Test/app/src/main/java/com/ivan/bankapp/api/NetworkManager.java b/App_Santander_Test/app/src/main/java/com/ivan/bankapp/api/NetworkManager.java new file mode 100644 index 000000000..24dd8a902 --- /dev/null +++ b/App_Santander_Test/app/src/main/java/com/ivan/bankapp/api/NetworkManager.java @@ -0,0 +1,41 @@ +package com.ivan.bankapp.api; + +import com.ivan.bankapp.model.StatementList; +import com.ivan.bankapp.model.User; + +import okhttp3.OkHttpClient; +import retrofit2.Retrofit; +import retrofit2.converter.gson.GsonConverterFactory; + +public class NetworkManager { + private static final NetworkManager instance = new NetworkManager(); + private final Api api; + + private final BreedApiService breedApiService; + + private NetworkManager() { + Retrofit retrofitCore = + new Retrofit + .Builder() + .baseUrl("https://bank-app-test.herokuapp.com/api/") + .addConverterFactory(GsonConverterFactory.create()) + .client(new OkHttpClient()) + .build(); + + api = retrofitCore.create(Api.class); + + breedApiService = new BreedApiService(); + } + + public static NetworkManager getInstance() { + return instance; + } + + public void getStatements(NetworkResponseListener listener) { + breedApiService.getStatement(listener, api); + } + + public void login(NetworkResponseListener listener) { + breedApiService.login(listener, api); + } +} diff --git a/App_Santander_Test/app/src/main/java/com/ivan/bankapp/api/NetworkResponse.java b/App_Santander_Test/app/src/main/java/com/ivan/bankapp/api/NetworkResponse.java new file mode 100644 index 000000000..fec593220 --- /dev/null +++ b/App_Santander_Test/app/src/main/java/com/ivan/bankapp/api/NetworkResponse.java @@ -0,0 +1,31 @@ +package com.ivan.bankapp.api; + +import androidx.annotation.NonNull; + +import java.lang.ref.WeakReference; + +import retrofit2.Call; +import retrofit2.Callback; + +class NetworkResponse implements Callback { + + private WeakReference> listener; + + NetworkResponse(NetworkResponseListener listener) { + this.listener = new WeakReference<>(listener); + } + @Override + public void onResponse(Call call, retrofit2.Response response) { + + if (listener != null && listener.get() != null) { + listener.get().onResponseReceived(response.body()); + } + } + + @Override + public void onFailure(@NonNull Call call, @NonNull Throwable t) { + if (listener != null && listener.get() != null) { + listener.get().onError(); + } + } +} \ No newline at end of file diff --git a/App_Santander_Test/app/src/main/java/com/ivan/bankapp/api/NetworkResponseListener.java b/App_Santander_Test/app/src/main/java/com/ivan/bankapp/api/NetworkResponseListener.java new file mode 100644 index 000000000..1f90fe7ac --- /dev/null +++ b/App_Santander_Test/app/src/main/java/com/ivan/bankapp/api/NetworkResponseListener.java @@ -0,0 +1,8 @@ +package com.ivan.bankapp.api; + +public interface NetworkResponseListener { + + void onResponseReceived(Response response); + + void onError(); +} \ No newline at end of file diff --git a/App_Santander_Test/app/src/main/java/com/ivan/bankapp/api/Response.java b/App_Santander_Test/app/src/main/java/com/ivan/bankapp/api/Response.java new file mode 100644 index 000000000..2db44d847 --- /dev/null +++ b/App_Santander_Test/app/src/main/java/com/ivan/bankapp/api/Response.java @@ -0,0 +1,21 @@ +package com.ivan.bankapp.api; + +import androidx.annotation.Nullable; + +import okhttp3.ResponseBody; + +public final class Response { + + private okhttp3.Response rawResponse; + private @Nullable T body; + private @Nullable + ResponseBody errorBody; + + public @Nullable T body() { + return body; + } + + public @Nullable ResponseBody errorBody() { + return errorBody; + } +} \ No newline at end of file diff --git a/App_Santander_Test/app/src/main/java/com/ivan/bankapp/api/RetrofitClient.java b/App_Santander_Test/app/src/main/java/com/ivan/bankapp/api/RetrofitClient.java new file mode 100644 index 000000000..cc2b31078 --- /dev/null +++ b/App_Santander_Test/app/src/main/java/com/ivan/bankapp/api/RetrofitClient.java @@ -0,0 +1,56 @@ +package com.ivan.bankapp.api; + +import com.facebook.stetho.okhttp3.StethoInterceptor; +import com.ivan.bankapp.model.StatementList; + +import okhttp3.OkHttpClient; +import okhttp3.logging.HttpLoggingInterceptor; +import retrofit2.Retrofit; +import retrofit2.converter.gson.GsonConverterFactory; + +public class RetrofitClient { + + private static final String AUTH = ""; + + public static final String BASE_URL = "https://bank-app-test.herokuapp.com/api/"; + private static RetrofitClient mInstance; + private Retrofit retrofit; + + private final BreedApiService breedApiService; + + private RetrofitClient() { + HttpLoggingInterceptor interceptor = new HttpLoggingInterceptor(); + interceptor.setLevel(HttpLoggingInterceptor.Level.BODY); + OkHttpClient client = new OkHttpClient.Builder() + .addNetworkInterceptor(new StethoInterceptor()) + .addInterceptor(interceptor) + .build(); + + breedApiService = new BreedApiService(); + + + if(retrofit==null){ + retrofit = new Retrofit.Builder() + .baseUrl(BASE_URL) + .addConverterFactory(GsonConverterFactory.create()) + .client(client) + .build(); + } + } + + public static synchronized RetrofitClient getInstance() { + if (mInstance == null) { + mInstance = new RetrofitClient(); + } + return mInstance; + } + + public Api getApi() { + return retrofit.create(Api.class); + } + + public void getStatemtns(NetworkResponseListener listener) { + breedApiService.getStatement(listener, getApi()); + } + +} diff --git a/App_Santander_Test/app/src/main/java/com/ivan/bankapp/dagger/module/ApplicationModule.java b/App_Santander_Test/app/src/main/java/com/ivan/bankapp/dagger/module/ApplicationModule.java new file mode 100644 index 000000000..c58621d62 --- /dev/null +++ b/App_Santander_Test/app/src/main/java/com/ivan/bankapp/dagger/module/ApplicationModule.java @@ -0,0 +1,31 @@ +package com.ivan.bankapp.dagger.module; + +import android.app.Application; +import android.content.Context; + +import javax.inject.Singleton; + +import dagger.Module; +import dagger.Provides; + +@Module +public class ApplicationModule { + + private Application application; + + public ApplicationModule(Application application) { + this.application = application; + } + + @Provides + @Singleton + Application providesApplication() { + return application; + } + + @Provides + @Singleton + Context providesContext(Application application) { + return application.getBaseContext(); + } +} \ No newline at end of file diff --git a/App_Santander_Test/app/src/main/java/com/ivan/bankapp/dagger/module/PreferenceModule.java b/App_Santander_Test/app/src/main/java/com/ivan/bankapp/dagger/module/PreferenceModule.java new file mode 100644 index 000000000..68f26361d --- /dev/null +++ b/App_Santander_Test/app/src/main/java/com/ivan/bankapp/dagger/module/PreferenceModule.java @@ -0,0 +1,20 @@ +package com.ivan.bankapp.dagger.module; + +import android.content.Context; +import android.content.SharedPreferences; +import android.preference.PreferenceManager; + +import javax.inject.Singleton; + +import dagger.Module; +import dagger.Provides; + +@Module +public class PreferenceModule { + + @Provides + @Singleton + SharedPreferences providesSharedPreferences(Context context) { + return PreferenceManager.getDefaultSharedPreferences(context); + } +} \ No newline at end of file diff --git a/App_Santander_Test/app/src/main/java/com/ivan/bankapp/dagger/module/SettingModule.java b/App_Santander_Test/app/src/main/java/com/ivan/bankapp/dagger/module/SettingModule.java new file mode 100644 index 000000000..d2e2a9c9e --- /dev/null +++ b/App_Santander_Test/app/src/main/java/com/ivan/bankapp/dagger/module/SettingModule.java @@ -0,0 +1,22 @@ +package com.ivan.bankapp.dagger.module; + +import android.content.Context; + +import javax.inject.Named; +import javax.inject.Singleton; + +import dagger.Module; +import dagger.Provides; + +@Module +public class SettingModule { + + public static final String BASE_URL = "Settings.ServerUrl"; + + @Provides + @Singleton + @Named(BASE_URL) + String providesServerUrl(Context context) { + return "http://private-c60ade-guidebook1.apiary-mock.com"; + } +} diff --git a/App_Santander_Test/app/src/main/java/com/ivan/bankapp/dagger/module/domain/RepositoryModule.java b/App_Santander_Test/app/src/main/java/com/ivan/bankapp/dagger/module/domain/RepositoryModule.java new file mode 100644 index 000000000..98d817e20 --- /dev/null +++ b/App_Santander_Test/app/src/main/java/com/ivan/bankapp/dagger/module/domain/RepositoryModule.java @@ -0,0 +1,12 @@ +package com.ivan.bankapp.dagger.module.domain; + +import dagger.Module; + +@Module +public class RepositoryModule { + + // @Provides + // UserRepository providesUserRepository() { + // return new UserManager(); + // } +} diff --git a/App_Santander_Test/app/src/main/java/com/ivan/bankapp/dagger/module/infraestruture/RxJavaModule.java b/App_Santander_Test/app/src/main/java/com/ivan/bankapp/dagger/module/infraestruture/RxJavaModule.java new file mode 100644 index 000000000..d58e01c97 --- /dev/null +++ b/App_Santander_Test/app/src/main/java/com/ivan/bankapp/dagger/module/infraestruture/RxJavaModule.java @@ -0,0 +1,18 @@ +package com.ivan.bankapp.dagger.module.infraestruture; + +import com.ivan.bankapp.infraestruture.operator.WorkerOperator; + +import javax.inject.Singleton; + +import dagger.Module; +import dagger.Provides; + +@Module +public class RxJavaModule { + + @Singleton + @Provides + WorkerOperator providesWorkerOperator() { + return new WorkerOperator(); + } +} diff --git a/App_Santander_Test/app/src/main/java/com/ivan/bankapp/database/UserDB.java b/App_Santander_Test/app/src/main/java/com/ivan/bankapp/database/UserDB.java new file mode 100644 index 000000000..b712e9424 --- /dev/null +++ b/App_Santander_Test/app/src/main/java/com/ivan/bankapp/database/UserDB.java @@ -0,0 +1,59 @@ +package com.ivan.bankapp.database; + +import com.google.gson.annotations.SerializedName; + +import io.realm.RealmObject; +import io.realm.annotations.PrimaryKey; + +public class UserDB extends RealmObject { + + @PrimaryKey + private Integer id; + private String name; + private String bankAccount; + private String agency; + private Double balance; + + public UserDB() { + } + + public Integer getId() { + return id; + } + + public void setId(Integer id) { + this.id = id; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getBankAccount() { + return bankAccount; + } + + public void setBankAccount(String bankAccount) { + this.bankAccount = bankAccount; + } + + public String getAgency() { + return agency; + } + + public void setAgency(String agency) { + this.agency = agency; + } + + public Double getBalance() { + return balance; + } + + public void setBalance(Double balance) { + this.balance = balance; + } +} diff --git a/App_Santander_Test/app/src/main/java/com/ivan/bankapp/infraestruture/operator/WorkerOperator.java b/App_Santander_Test/app/src/main/java/com/ivan/bankapp/infraestruture/operator/WorkerOperator.java new file mode 100644 index 000000000..6bd9763fe --- /dev/null +++ b/App_Santander_Test/app/src/main/java/com/ivan/bankapp/infraestruture/operator/WorkerOperator.java @@ -0,0 +1,14 @@ +package com.ivan.bankapp.infraestruture.operator; + +import io.reactivex.schedulers.Schedulers; +import rx.Observable; +import rx.android.schedulers.AndroidSchedulers; + +public class WorkerOperator implements rx.Observable.Transformer { + + + @Override + public Observable call(Observable tObservable) { + return null; + } +} diff --git a/App_Santander_Test/app/src/main/java/com/ivan/bankapp/model/StatementList.java b/App_Santander_Test/app/src/main/java/com/ivan/bankapp/model/StatementList.java new file mode 100644 index 000000000..dea213123 --- /dev/null +++ b/App_Santander_Test/app/src/main/java/com/ivan/bankapp/model/StatementList.java @@ -0,0 +1,21 @@ +package com.ivan.bankapp.model; + +import com.google.gson.annotations.SerializedName; + +public class StatementList { + + @SerializedName("statementList") + private Statements[] statementList; + + public StatementList(Statements[] statementList) { + this.statementList = statementList; + } + + public Statements[] getStatementList() { + return statementList; + } + + public void setStatementList(Statements[] statementList) { + this.statementList = statementList; + } +} diff --git a/App_Santander_Test/app/src/main/java/com/ivan/bankapp/model/Statements.java b/App_Santander_Test/app/src/main/java/com/ivan/bankapp/model/Statements.java new file mode 100644 index 000000000..6dcc7b26f --- /dev/null +++ b/App_Santander_Test/app/src/main/java/com/ivan/bankapp/model/Statements.java @@ -0,0 +1,57 @@ +package com.ivan.bankapp.model; + +import com.google.gson.annotations.SerializedName; + +public class Statements { + + @SerializedName("title") + private String title; + + @SerializedName("desc") + private String desc; + + @SerializedName("date") + private String date; + + @SerializedName("value") + private Double value; + + public Statements(String tittle, String desc, String date, Double value) { + this.title = tittle; + this.desc = desc; + this.date = date; + this.value = value; + } + + public String getTittle() { + return title; + } + + public void setTittle(String tittle) { + this.title = tittle; + } + + public String getDesc() { + return desc; + } + + public void setDesc(String desc) { + this.desc = desc; + } + + public String getDate() { + return date; + } + + public void setDate(String date) { + this.date = date; + } + + public Double getValue() { + return value; + } + + public void setValue(Double value) { + this.value = value; + } +} diff --git a/App_Santander_Test/app/src/main/java/com/ivan/bankapp/model/User.java b/App_Santander_Test/app/src/main/java/com/ivan/bankapp/model/User.java new file mode 100644 index 000000000..78bec7a0f --- /dev/null +++ b/App_Santander_Test/app/src/main/java/com/ivan/bankapp/model/User.java @@ -0,0 +1,81 @@ +package com.ivan.bankapp.model; + +import com.google.gson.annotations.SerializedName; + +public class User { + + @SerializedName("userAccount") + private User userAccount; + + @SerializedName("userId") + private Integer id; + + @SerializedName("name") + private String name; + + @SerializedName("bankAccount") + private String bankAccount; + + @SerializedName("agency") + private String agency; + + @SerializedName("balance") + private Double balance; + + public User(User userAccount, Integer id, String name, String bankAccount, String agency, Double balance) { + this.userAccount = userAccount; + this.id = id; + this.name = name; + this.bankAccount = bankAccount; + this.agency = agency; + this.balance = balance; + } + + public Integer getId() { + return id; + } + + public void setId(Integer id) { + this.id = id; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getBankAccount() { + return bankAccount; + } + + public void setBankAccount(String bankAccount) { + this.bankAccount = bankAccount; + } + + public String getAgency() { + return agency; + } + + public void setAgency(String agency) { + this.agency = agency; + } + + public Double getBalance() { + return balance; + } + + public void setBalance(Double balance) { + this.balance = balance; + } + + public User getUserAccount() { + return userAccount; + } + + public void setUserAccount(User userAccount) { + this.userAccount = userAccount; + } +} diff --git a/App_Santander_Test/app/src/main/java/com/ivan/bankapp/utils/MaskCNPJCPF.java b/App_Santander_Test/app/src/main/java/com/ivan/bankapp/utils/MaskCNPJCPF.java new file mode 100644 index 000000000..7906cbd8f --- /dev/null +++ b/App_Santander_Test/app/src/main/java/com/ivan/bankapp/utils/MaskCNPJCPF.java @@ -0,0 +1,80 @@ +package com.ivan.bankapp.utils; + +import android.text.Editable; +import android.text.TextWatcher; +import android.widget.EditText; + +public abstract class MaskCNPJCPF { + + private static final String maskCNPJ = "##.###.###/####-##"; + private static final String maskCPF = "###.###.###-##"; + + + public static String unmask(String s) { + return s.replaceAll("[^0-9]*", ""); + } + + public static TextWatcher insert(final EditText editText) { + return new TextWatcher() { + boolean isUpdating; + String old = ""; + + public void onTextChanged(CharSequence s, int start, int before, int count) { + String str = MaskCNPJCPF.unmask(s.toString()); + String mask; + String defaultMask = getDefaultMask(str); + switch (str.length()) { + case 11: + mask = maskCPF; + break; + case 14: + mask = maskCNPJ; + break; + + default: + mask = defaultMask; + break; + } + + String mascara = ""; + if (isUpdating) { + old = str; + isUpdating = false; + return; + } + int i = 0; + for (char m : mask.toCharArray()) { + if ((m != '#' && str.length() > old.length()) || (m != '#' && str.length() < old.length() && str.length() != i)) { + mascara += m; + continue; + } + + try { + mascara += str.charAt(i); + } catch (Exception e) { + break; + } + i++; + } + isUpdating = true; + editText.setText(mascara); + editText.setSelection(mascara.length()); + } + + public void beforeTextChanged(CharSequence s, int start, int count, + int after) { + } + + public void afterTextChanged(Editable s) { + } + }; + } + + private static String getDefaultMask(String str) { + String defaultMask = maskCPF; + if (str.length() > 11) { + defaultMask = maskCNPJ; + } + return defaultMask; + } + } diff --git a/App_Santander_Test/app/src/main/java/com/ivan/bankapp/utils/PasswordStrength.java b/App_Santander_Test/app/src/main/java/com/ivan/bankapp/utils/PasswordStrength.java new file mode 100644 index 000000000..b14e4cb29 --- /dev/null +++ b/App_Santander_Test/app/src/main/java/com/ivan/bankapp/utils/PasswordStrength.java @@ -0,0 +1,82 @@ +package com.ivan.bankapp.utils; + +import android.graphics.Color; + +import com.ivan.bankapp.R; + +public enum PasswordStrength { + + + WEAK(R.string.fraca, Color.parseColor("#61ad85")), + MEDIUM(R.string.media, Color.parseColor("#4d8a6a")), + STRONG(R.string.forte, Color.parseColor("#3a674f")), + VERY_STRONG(R.string.muitoForte, Color.parseColor("#264535")); + + public int msg; + public int color; + public int passwordScore; + private static int MIN_LENGTH = 8; + private static int MAX_LENGTH = 15; + + PasswordStrength(int msg, int color) { + this.msg = msg; + this.color = color; + } + + public static PasswordStrength calculate(String password) { + int score = 0; + // boolean indicating if password has an upper case + boolean upper = false; + // boolean indicating if password has a lower case + boolean lower = false; + // boolean indicating if password has at least one digit + boolean digit = false; + // boolean indicating if password has a leat one special char + boolean specialChar = false; + + for (int i = 0; i < password.length(); i++) { + char c = password.charAt(i); + + if (!specialChar && !Character.isLetterOrDigit(c)) { + score++; + specialChar = true; + } else { + if (!digit && Character.isDigit(c)) { + score++; + digit = true; + } else { + if (!upper || !lower) { + if (Character.isUpperCase(c)) { + upper = true; + } else { + lower = true; + } + + if (upper && lower) { + score++; + } + } + } + } + } + + int length = password.length(); + + if (length > MAX_LENGTH) { + score++; + } else if (length < MIN_LENGTH) { + score = 0; + } + + // return enum following the score + switch(score) { + case 0 : return WEAK; + case 1 : return MEDIUM; + case 2 : return STRONG; + case 3 : return VERY_STRONG; + default: + } + + return VERY_STRONG; + } +} diff --git a/App_Santander_Test/app/src/main/java/com/ivan/bankapp/view/.DS_Store b/App_Santander_Test/app/src/main/java/com/ivan/bankapp/view/.DS_Store new file mode 100644 index 000000000..57d2d1a03 Binary files /dev/null and b/App_Santander_Test/app/src/main/java/com/ivan/bankapp/view/.DS_Store differ diff --git a/App_Santander_Test/app/src/main/java/com/ivan/bankapp/view/fragment/FragmentBillList.java b/App_Santander_Test/app/src/main/java/com/ivan/bankapp/view/fragment/FragmentBillList.java new file mode 100644 index 000000000..abfcad9d5 --- /dev/null +++ b/App_Santander_Test/app/src/main/java/com/ivan/bankapp/view/fragment/FragmentBillList.java @@ -0,0 +1,28 @@ +package com.ivan.bankapp.view.fragment; + +import android.os.Bundle; + +import androidx.fragment.app.Fragment; + +import android.view.LayoutInflater; +import android.view.View; +import android.view.ViewGroup; + +import com.ivan.bankapp.R; + +public class FragmentBillList extends Fragment { + + + public FragmentBillList() { + // Required empty public constructor + } + + @Override + public View onCreateView(LayoutInflater inflater, ViewGroup container, + Bundle savedInstanceState) { + + View view = inflater.inflate(R.layout.fragment_bill_list, container, false); + + return view; + } +} \ No newline at end of file diff --git a/App_Santander_Test/app/src/main/java/com/ivan/bankapp/view/fragment/FragmentBills.java b/App_Santander_Test/app/src/main/java/com/ivan/bankapp/view/fragment/FragmentBills.java new file mode 100644 index 000000000..461f330e6 --- /dev/null +++ b/App_Santander_Test/app/src/main/java/com/ivan/bankapp/view/fragment/FragmentBills.java @@ -0,0 +1,63 @@ +package com.ivan.bankapp.view.fragment; + +import android.os.Bundle; + +import androidx.fragment.app.Fragment; + +import android.view.LayoutInflater; +import android.view.View; +import android.view.ViewGroup; +import android.widget.TextView; + +import com.ivan.bankapp.R; + +public class FragmentBills extends Fragment { + + private String billDescription, billDate, title; + private Double billValue; + + + + public FragmentBills() { + } + + public String getBillDescription() { + return billDescription; + } + + public void setBillDescription(String billDescription) { + this.billDescription = billDescription; + } + + public String getBillDate() { + return billDate; + } + + public void setBillDate(String billDate) { + this.billDate = billDate; + } + + public Double getBillValue() { + return billValue; + } + + public void setBillValue(Double billValue) { + this.billValue = billValue; + } + + public String getTitle() { + return title; + } + + public void setTitle(String title) { + this.title = title; + } + + @Override + public View onCreateView(LayoutInflater inflater, ViewGroup container, + Bundle savedInstanceState) { + View view = inflater.inflate(R.layout.fragment_bills, container, false); + + return view; + } +} \ No newline at end of file diff --git a/App_Santander_Test/app/src/main/java/com/ivan/bankapp/view/presentation/Login.java b/App_Santander_Test/app/src/main/java/com/ivan/bankapp/view/presentation/Login.java new file mode 100644 index 000000000..34d7ffd26 --- /dev/null +++ b/App_Santander_Test/app/src/main/java/com/ivan/bankapp/view/presentation/Login.java @@ -0,0 +1,136 @@ +package com.ivan.bankapp.view.presentation; + +import androidx.annotation.IdRes; +import androidx.appcompat.app.AppCompatActivity; + +import android.content.Intent; +import android.os.Bundle; +import android.util.Patterns; +import android.view.View; +import android.widget.Button; +import android.widget.EditText; +import android.widget.Toast; + +import com.ivan.bankapp.R; +import com.ivan.bankapp.database.UserDB; +import com.ivan.bankapp.utils.PasswordStrength; + +import io.realm.Realm; +import io.realm.RealmConfiguration; + +public class Login extends AppCompatActivity implements ViewContract.IView { + + public static EditText user, password; + Button buttonLogin; + public String username, userpassword; + public RealmConfiguration realmConfig; + public Realm realm; + private ViewContract.IPresenter presenter; + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + setContentView(R.layout.activity_login); + + user = findViewById(R.id.editUser); + password = findViewById(R.id.editPassword); + buttonLogin = findViewById(R.id.buttonLogin); + + presenter = new Presenter(this); + + Realm.init(getApplicationContext()); + realmConfig = new RealmConfiguration.Builder().deleteRealmIfMigrationNeeded().build(); + realm = Realm.getInstance(realmConfig); + + buttonLogin.setOnClickListener(new View.OnClickListener() { + @Override + public void onClick(View v) { + validateFields(user.getText().toString(), password.getText().toString()); + } + }); + + } + + private ViewType find(@IdRes int viewId) { + return (ViewType) findViewById(viewId); + } + + private boolean validatePassword(String str){ + + PasswordStrength passwordStrength = PasswordStrength.calculate(str); + + String strength = passwordStrength.name().toLowerCase(); + + if(strength.equals("weak") || strength.equals("medium")) return false; + else return true; + + } + + private void goHome(){ + + if(validatePassword(password.getText().toString())) { + Intent i = new Intent(getApplicationContext(), MainActivity.class); + startActivity(i); + } else { + Toast.makeText(this, "Insira uma senha forte", Toast.LENGTH_SHORT).show(); + } + } + + @Override + public void getStatements(String title, String desc, String data, Double value) { + + } + + @Override + public void login(Integer id, String name, String account, String agency, Double value) { + + //Salvar no Realm + + UserDB userDB = new UserDB(); + + userDB.setId(id); + userDB.setName(name); + userDB.setBankAccount(account); + userDB.setAgency(agency); + userDB.setBalance(value); + + realm.beginTransaction(); + realm.copyToRealmOrUpdate(userDB); + realm.commitTransaction(); + + goHome(); + + } + + public static String getUsername(){ + String username = ""; + username = user.getText().toString(); + return username; + } + + public static String getPassword(){ + String userpassword = ""; + userpassword = password.getText().toString(); + return userpassword; + } + + private void validateFields(String username, String userpassword){ + + if (username.isEmpty()) { + user.setError("Necessário inserir um e-mail"); + user.requestFocus(); + return; + } + + + if (userpassword.isEmpty()) { + password.setError("Por favor, insira sua senha!"); + password.requestFocus(); + return; + } + + if (presenter != null) { + presenter.onLogin(); + } + } +} \ No newline at end of file diff --git a/App_Santander_Test/app/src/main/java/com/ivan/bankapp/view/presentation/MainActivity.java b/App_Santander_Test/app/src/main/java/com/ivan/bankapp/view/presentation/MainActivity.java new file mode 100644 index 000000000..95555459e --- /dev/null +++ b/App_Santander_Test/app/src/main/java/com/ivan/bankapp/view/presentation/MainActivity.java @@ -0,0 +1,136 @@ +package com.ivan.bankapp.view.presentation; + +import androidx.annotation.IdRes; +import androidx.appcompat.app.AppCompatActivity; +import androidx.recyclerview.widget.LinearLayoutManager; +import androidx.recyclerview.widget.RecyclerView; + +import android.content.Intent; +import android.os.Bundle; +import android.view.View; +import android.widget.ImageView; +import android.widget.TextView; + +import com.ivan.bankapp.R; +import com.ivan.bankapp.adapter.BillAdapter; +import com.ivan.bankapp.database.UserDB; +import com.ivan.bankapp.view.fragment.FragmentBills; + +import java.util.ArrayList; + +import io.realm.Realm; +import io.realm.RealmConfiguration; +import io.realm.RealmResults; + +public class MainActivity extends AppCompatActivity implements ViewContract.IView { + + TextView nomeUsuario, numeroConta, valorSaldo; + public FragmentBills billsCard; + public RecyclerView billsRecycler; + public BillAdapter billAdapter; + public ArrayList billsList = new ArrayList<>(); + public ImageView logout; + private ViewContract.IPresenter presenter; + public static int userID; + public RealmConfiguration realmConfig; + public static Realm realm; + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + setContentView(R.layout.activity_main); + + realm.init(getApplicationContext()); + realmConfig = new RealmConfiguration.Builder().deleteRealmIfMigrationNeeded().build(); + realm = Realm.getInstance(realmConfig); + + presenter = new Presenter(this); + + nomeUsuario = findViewById(R.id.nomeUsuario); + numeroConta = findViewById(R.id.numeroConta); + valorSaldo = findViewById(R.id.valorConta); + billsRecycler = findViewById(R.id.billRecycler); + logout = findViewById(R.id.logout); + + LinearLayoutManager llm = new LinearLayoutManager(getApplicationContext()); + llm.setOrientation(LinearLayoutManager.VERTICAL); + billsRecycler.setLayoutManager(llm); + + logout.setOnClickListener(new View.OnClickListener() { + @Override + public void onClick(View v) { + Intent i = new Intent(getApplicationContext(), Login.class); + startActivity(i); + } + }); + + if (presenter != null) { + presenter.onHomeLoaded(); + setUserData(); + } + } + + private ViewType find(@IdRes int viewId) { + return (ViewType) findViewById(viewId); + } + + @Override + public void getStatements(String title, String desc, String data, Double value) { + + billsCard = new FragmentBills(); + + billsCard.setTitle(title); + billsCard.setBillDate(data); + billsCard.setBillDescription(desc); + billsCard.setBillValue(value); + billsList.add(billsCard); + + billAdapter = new BillAdapter(billsList); + billsRecycler.setAdapter(billAdapter); + billAdapter.notifyDataSetChanged(); + } + + @Override + public void login(Integer id, String name, String account, String agency, Double value) { + + } + + public void setUserData() { + + String userName = ""; + String account = ""; + String agency = ""; + Double value = 0.0; + + RealmResults results = + realm.where(UserDB.class).findAll(); + if(results.size() > 0){ + assert results.get(0) != null; + + userName = results.get(0).getName(); + account = results.get(0).getBankAccount(); + agency = results.get(0).getAgency(); + value = results.get(0).getBalance(); + + nomeUsuario.setText(userName); + numeroConta.setText(account + "/" + agency); + valorSaldo.setText("R$ " + String.valueOf(value)); + } + + + } + + public static int getUserID(){ + + int userID = 0; + + RealmResults results = + realm.where(UserDB.class).findAll(); + if(results.size() > 0){ + assert results.get(0) != null; + userID = results.get(0).getId(); + } + + return userID; + } +} \ No newline at end of file diff --git a/App_Santander_Test/app/src/main/java/com/ivan/bankapp/view/presentation/Presenter.java b/App_Santander_Test/app/src/main/java/com/ivan/bankapp/view/presentation/Presenter.java new file mode 100644 index 000000000..e5e8aac6e --- /dev/null +++ b/App_Santander_Test/app/src/main/java/com/ivan/bankapp/view/presentation/Presenter.java @@ -0,0 +1,55 @@ +package com.ivan.bankapp.view.presentation; + +import com.ivan.bankapp.api.NetworkManager; +import com.ivan.bankapp.api.NetworkResponseListener; +import com.ivan.bankapp.model.StatementList; +import com.ivan.bankapp.model.User; + +import java.lang.ref.WeakReference; + +class Presenter implements ViewContract.IPresenter { + + private WeakReference view; + + Presenter(ViewContract.IView view) { + this.view = new WeakReference<>(view); + } + + @Override + public void onHomeLoaded() { + NetworkManager.getInstance().getStatements(new NetworkResponseListener() { + @Override + public void onResponseReceived(StatementList s) { + + for (int i = 0; i() { + @Override + public void onResponseReceived(User user) { + + view.get().login(user.getUserAccount().getId(), user.getUserAccount().getName(),user.getUserAccount().getBankAccount(), user.getUserAccount().getAgency(),user.getUserAccount().getBalance()); + } + + @Override + public void onError() { + } + }); + + } +} \ No newline at end of file diff --git a/App_Santander_Test/app/src/main/java/com/ivan/bankapp/view/presentation/ViewContract.java b/App_Santander_Test/app/src/main/java/com/ivan/bankapp/view/presentation/ViewContract.java new file mode 100644 index 000000000..9e6de706c --- /dev/null +++ b/App_Santander_Test/app/src/main/java/com/ivan/bankapp/view/presentation/ViewContract.java @@ -0,0 +1,14 @@ +package com.ivan.bankapp.view.presentation; + +interface ViewContract { + interface IPresenter { + void onHomeLoaded(); + void onLogin(); + } + + interface IView { + void getStatements(String title, String desc, String data, Double value); + void login(Integer id, String name, String account, String agency, Double value); + + } +} \ No newline at end of file diff --git a/App_Santander_Test/app/src/main/res/drawable-v24/ic_launcher_foreground.xml b/App_Santander_Test/app/src/main/res/drawable-v24/ic_launcher_foreground.xml new file mode 100644 index 000000000..2b068d114 --- /dev/null +++ b/App_Santander_Test/app/src/main/res/drawable-v24/ic_launcher_foreground.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/app/src/main/res/drawable-v24/logo.png b/App_Santander_Test/app/src/main/res/drawable-v24/logo.png new file mode 100644 index 000000000..66bdc8d5d Binary files /dev/null and b/App_Santander_Test/app/src/main/res/drawable-v24/logo.png differ diff --git a/App_Santander_Test/app/src/main/res/drawable-v24/logout.png b/App_Santander_Test/app/src/main/res/drawable-v24/logout.png new file mode 100644 index 000000000..de1e4ae3c Binary files /dev/null and b/App_Santander_Test/app/src/main/res/drawable-v24/logout.png differ diff --git a/App_Santander_Test/app/src/main/res/drawable/bills_bg.xml b/App_Santander_Test/app/src/main/res/drawable/bills_bg.xml new file mode 100644 index 000000000..be291e02c --- /dev/null +++ b/App_Santander_Test/app/src/main/res/drawable/bills_bg.xml @@ -0,0 +1,9 @@ + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/app/src/main/res/drawable/button_bg.xml b/App_Santander_Test/app/src/main/res/drawable/button_bg.xml new file mode 100644 index 000000000..6d7ad1336 --- /dev/null +++ b/App_Santander_Test/app/src/main/res/drawable/button_bg.xml @@ -0,0 +1,9 @@ + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/app/src/main/res/drawable/field_bg.xml b/App_Santander_Test/app/src/main/res/drawable/field_bg.xml new file mode 100644 index 000000000..c6d539b44 --- /dev/null +++ b/App_Santander_Test/app/src/main/res/drawable/field_bg.xml @@ -0,0 +1,13 @@ + + + + + + + + + + \ No newline at end of file diff --git a/App_Santander_Test/app/src/main/res/drawable/ic_launcher_background.xml b/App_Santander_Test/app/src/main/res/drawable/ic_launcher_background.xml new file mode 100644 index 000000000..07d5da9cb --- /dev/null +++ b/App_Santander_Test/app/src/main/res/drawable/ic_launcher_background.xml @@ -0,0 +1,170 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/App_Santander_Test/app/src/main/res/layout/activity_login.xml b/App_Santander_Test/app/src/main/res/layout/activity_login.xml new file mode 100644 index 000000000..f3dafc20e --- /dev/null +++ b/App_Santander_Test/app/src/main/res/layout/activity_login.xml @@ -0,0 +1,70 @@ + + + + + + + + + +