Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/landscape + portrait list #73

Merged
merged 18 commits into from Oct 17, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Expand Up @@ -61,6 +61,7 @@ captures/
.idea/modules.xml
# Comment next line if keeping position of elements in Navigation Editor is relevant for you
.idea/navEditor.xml
.idea/*

# Keystore files
# Uncomment the following lines if you do not want to check your keystore files in.
Expand Down Expand Up @@ -285,4 +286,4 @@ hs_err_pid*
# lint
# lint/reports/

buildSrc/src/main/kotlin/ApiKey.kt
buildSrc/src/main/kotlin/ApiKey.kt
1 change: 0 additions & 1 deletion .idea/.name

This file was deleted.

122 changes: 0 additions & 122 deletions .idea/codeStyles/Project.xml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/codeStyles/codeStyleConfig.xml

This file was deleted.

16 changes: 0 additions & 16 deletions .idea/compiler.xml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/encodings.xml

This file was deleted.

35 changes: 0 additions & 35 deletions .idea/jarRepositories.xml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/kotlinScripting.xml

This file was deleted.

37 changes: 0 additions & 37 deletions .idea/misc.xml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -32,7 +32,7 @@ MovieHunt is a sample Android project using <a href="https://www.themoviedb.org/
* [WorkManager](https://developer.android.com/topic/libraries/architecture/workmanager) - Tasks scheduler in background jobs. (Upcoming)
* [RxJava](https://github.com/ReactiveX/RxJava) - Asynchronous programming with observable streams.
* [Epoxy](https://github.com/airbnb/epoxy) - Simplified way to build complex layout in RecyclerView.
* [Glide](https://github.com/bumptech/glide) - Image loading.
* [Coil](https://github.com/coil-kt/coil) - Image loading.
* [Timber](https://github.com/JakeWharton/timber) - Extensible API for logging.
* [Jetpack Compose](https://developer.android.com/jetpack/compose) - Declarative and simplified way for UI development. (Upcoming)
* [Coroutines](https://developer.android.com/kotlin/coroutines) - Light-weight threads for background operations. (Upcoming)
Expand Down
4 changes: 2 additions & 2 deletions app/build.gradle.kts
Expand Up @@ -13,6 +13,7 @@ android {
javaCompileOptions {
annotationProcessorOptions {
argument("room.schemaLocation", "$projectDir/schemas")
argument("enableParallelEpoxyProcessing", "true")
}
}
}
Expand All @@ -28,8 +29,7 @@ dependencies {
implementation(Dependencies.Epoxy.databinding)
"kapt"(Dependencies.Epoxy.processor)

implementation(Dependencies.Glide.core)
"kapt"(Dependencies.Glide.compiler)
implementation(Dependencies.coil)

implementation(Dependencies.Room.runtime)
implementation(Dependencies.Room.ktx)
Expand Down
Expand Up @@ -2,7 +2,7 @@
"formatVersion": 1,
"database": {
"version": 1,
"identityHash": "3ed7ccadc56c9f33751c251a09063f51",
"identityHash": "b6fadff946d57de94dd5b0c5373db89f",
"entities": [
{
"tableName": "movie_list",
Expand Down Expand Up @@ -51,7 +51,7 @@
},
{
"tableName": "movie",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` TEXT NOT NULL, `poster_path` TEXT, `title` TEXT, `vote_average` REAL, `vote_count` INTEGER, `overview` TEXT, `release_date` TEXT, `genres` TEXT, `runtime` INTEGER, PRIMARY KEY(`id`))",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` TEXT NOT NULL, `poster_path` TEXT, `title` TEXT, `vote_average` REAL, `vote_count` INTEGER, `overview` TEXT, `release_date` TEXT, `genres` TEXT, `runtime` INTEGER, `backdrop_path` TEXT, PRIMARY KEY(`id`))",
"fields": [
{
"fieldPath": "id",
Expand Down Expand Up @@ -106,6 +106,12 @@
"columnName": "runtime",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "backdropPath",
"columnName": "backdrop_path",
"affinity": "TEXT",
"notNull": false
}
],
"primaryKey": {
Expand All @@ -121,7 +127,7 @@
"views": [],
"setupQueries": [
"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)",
"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '3ed7ccadc56c9f33751c251a09063f51')"
"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, 'b6fadff946d57de94dd5b0c5373db89f')"
]
}
}