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

Added MovieActivity for opening movie details #5

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Added MovieActivity for opening movie details #5

wants to merge 2 commits into from

Conversation

GeorgCantor
Copy link

Added MovieActivity for opening movie details, added ConstraintLayout, added Glide placeholder.

Copy link
Owner

@erikjhordan-rey erikjhordan-rey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for support!

@@ -23,4 +23,4 @@
</activity>
</application>

</manifest>
</manifest>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add endline

@Entity(tableName = TABLE_MOVIE)
data class Movie(@PrimaryKey val id: Long,
val title: String,
val popularity: Int,
val voteAverage: Int,
val posterUrl: String,
val description: String)
val description: String) : Parcelable
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can create a read it from database using dao en detail instead to use Parcelable

import io.github.erikjhordanrey.arch_components_paging_library.R
import io.github.erikjhordanrey.arch_components_paging_library.data.room.Movie
import io.github.erikjhordanrey.arch_components_paging_library.view.MoviesActivity.Companion.ARG_MOVIE
import kotlinx.android.synthetic.main.activity_movie.*
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove wildcard imports please

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants