From e50c5baba4046c6e028a10db5e4c9201c948648d Mon Sep 17 00:00:00 2001 From: hmalik144 Date: Tue, 13 Oct 2020 12:59:20 +0100 Subject: [PATCH 1/7] Create README.md --- README.md | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..74d0046 --- /dev/null +++ b/README.md @@ -0,0 +1,47 @@ +# MovieListTest +Load Movies from TMDB API and poppulate a list on your device + +## Requirements + + - Minimum android version 23 + - Permissions : Internet, Network state + +## Installation +Clone this repository with the following command +`git clone https://github.com/hmalik144/MovieListTest/` +then open with android studio. + +## Features + + - SOLID coding principles applied to keep code clean and easy to read + - Android navigation library + - Livedata, with lifecycle aware results + - Data persistence with room + - Picasso for image caching + - Recycler view for easy user list display + +## Architectural Pattern + +MVVM - Model View Viewmodel +SOLID coding principle + +## Jetpack + +* [AndroidX](https://developer.android.com/jetpack/androidx) + +### Unit test + - RepositoryTest.kt + - MainViewModelText.kt + - MoviesRoomDatabaseTest.kt + +## Built With + +* [Kodein](https://github.com/Kodein-Framework/Kodein-DI) - Painless Kotlin Dependency Injection +* [Retrofit](https://github.com/square/retrofit) - Type-safe HTTP client for Android and Java by Square, Inc +* [Picasso](https://square.github.io/picasso/) - A powerful image downloading and caching library for Android +* [Room Persistence Library](https://developer.android.com/topic/libraries/architecture/room) - The Room persistence library provides an abstraction layer over SQLite to allow for more robust database access while harnessing the full power of SQLite. +* [Mockito](https://github.com/mockito/mockito) - Most popular Mocking framework for unit tests written in Java + +## Authors + +* **Haider Malik** - *Android Developer* From 92d5ac634bf3b0ca0ec55be87aaec55c4ea687b2 Mon Sep 17 00:00:00 2001 From: hmalik144 Date: Tue, 13 Oct 2020 12:59:47 +0100 Subject: [PATCH 2/7] Update README.md --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 74d0046..04f13aa 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,9 @@ Load Movies from TMDB API and poppulate a list on your device ## Installation Clone this repository with the following command -`git clone https://github.com/hmalik144/MovieListTest/` + + `git clone https://github.com/hmalik144/MovieListTest/` + then open with android studio. ## Features From 0bbc053bfe47121a2ef52fa79a9487db04b11755 Mon Sep 17 00:00:00 2001 From: hmalik144 Date: Tue, 13 Oct 2020 13:00:06 +0100 Subject: [PATCH 3/7] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 04f13aa..2452adf 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Load Movies from TMDB API and poppulate a list on your device ## Installation Clone this repository with the following command - `git clone https://github.com/hmalik144/MovieListTest/` + git clone https://github.com/hmalik144/MovieListTest/ then open with android studio. From 28fc42d0eea7ac4089cccad5365a5b3363881871 Mon Sep 17 00:00:00 2001 From: hmalik144 Date: Tue, 13 Oct 2020 13:01:56 +0100 Subject: [PATCH 4/7] Update README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 2452adf..0c522dc 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,10 @@ then open with android studio. - Data persistence with room - Picasso for image caching - Recycler view for easy user list display + +## If I had more time + + - Add animations for recycler list population ## Architectural Pattern From 5dc1d2fc6c4dfa32d3b76162c69e430186ce6284 Mon Sep 17 00:00:00 2001 From: hmalik144 Date: Tue, 13 Oct 2020 13:09:48 +0100 Subject: [PATCH 5/7] Update README.md --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0c522dc..be11179 100644 --- a/README.md +++ b/README.md @@ -21,10 +21,12 @@ then open with android studio. - Data persistence with room - Picasso for image caching - Recycler view for easy user list display + - Favourite/unfavourite movies ## If I had more time - - Add animations for recycler list population + - Add animations for recycler list population. + - Paginate the new entry with a smoother animation. ## Architectural Pattern From 48079c2b2ddadc9f90bb9f5d24c575a33e59cf6e Mon Sep 17 00:00:00 2001 From: hmalik144 Date: Tue, 13 Oct 2020 13:10:19 +0100 Subject: [PATCH 6/7] Update README.md --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index be11179..bc3c039 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,6 @@ # MovieListTest Load Movies from TMDB API and poppulate a list on your device -## Requirements - - - Minimum android version 23 - - Permissions : Internet, Network state - ## Installation Clone this repository with the following command @@ -13,6 +8,11 @@ Clone this repository with the following command then open with android studio. +## Requirements + + - Minimum android version 23 + - Permissions : Internet, Network state + ## Features - SOLID coding principles applied to keep code clean and easy to read From 45c9f5ceca7c1aa0049affa946402bb1164b27a0 Mon Sep 17 00:00:00 2001 From: hmalik144 Date: Tue, 13 Oct 2020 13:12:48 +0100 Subject: [PATCH 7/7] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index bc3c039..7e156d1 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # MovieListTest -Load Movies from TMDB API and poppulate a list on your device +Load Movies from TMDB API and populate a list on your device. You can favourite/unfavourite movies. ## Installation Clone this repository with the following command