-
Notifications
You must be signed in to change notification settings - Fork 5
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
Update design of video queue #281
Labels
Comments
The numbering issues and previous video issues may be related. The off-screen rows should be reloaded by |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Numbering Challenges
The number label is already included in the xib, but we decided to hide it because of challenges when moving the rows.
In particular, when we move a row in the table, we need to update the number of all cells between the source row and the destination row. The code below works great when all of the rows to update are on the screen, but it fails when there are rows that need to update but are not currently visible.
The following code does not work, however. It causes visual glitches by trying to reload rows before the move takes place. For the same reason, I suspect simply reloading all rows would fail, too.
Previous Video Challenges
There's a particular edge case that is not handled by the current code:
Using break points, I've found that video A gets removed when scrolled off screen, then reloaded with the
cellForRowAt
function when scrolled back on screen. But as far as I can tell, theisPreviousVideo
property is properly getting set totrue
. So why isn't the separator being hidden?The text was updated successfully, but these errors were encountered: