Skip to content

Conversation

rockhero1234
Copy link
Contributor

No description provided.

android:layout_gravity="center"
android:layout_marginStart="10dp"
android:gravity="center"
android:letterSpacing="0.09"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why?

android:layout_marginStart="10dp"
android:gravity="center"
android:letterSpacing="0.09"
android:textColor="?attr/black"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why? This does not match the other buttons color at all.

tools:ignore="RtlSymmetry"
android:letterSpacing="0.09"
android:textAllCaps="false"
android:textColor="?attr/black"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Same issue.

tools:text="69m remaining"
android:textStyle="bold"
tools:ignore="RtlSymmetry"
android:letterSpacing="0.09"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Same issue.

observeNullable(viewModel.movie) { data ->
resultBinding?.apply {
resultPlayMovie.isVisible = data is Resource.Success
resultPlayMovie.isVisible = data is Resource.Success && (viewModel.resumeWatching.value == null)
Copy link
Collaborator

Choose a reason for hiding this comment

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

This looks like it could be a race condition. Please do not do logic that depends on two different values.

@rockhero1234
Copy link
Contributor Author

rockhero1234 commented Oct 19, 2025

@fire-light42 I think previously fixes are not that good. Making clickable and focusable to false solved click issue i didn't noticed that before, and moving watching observable below movie solved play movie visibility issue.

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.

2 participants