-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Migrate to media3 #4177
Migrate to media3 #4177
Conversation
Hey @JuancaG05 👋 , I pushed the PR, have a look and let me know if it needs any changes. 🚀 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is SOOOOOOO COOL @parneet-guraya! Great job! I like it a lot! 👏
Just left some comments and suggestions here for you to review before we move it to QA 😃
...udApp/src/main/java/com/owncloud/android/presentation/files/filelist/MainFileListFragment.kt
Outdated
Show resolved
Hide resolved
owncloudApp/src/main/java/com/owncloud/android/ui/activity/FileDisplayActivity.kt
Show resolved
Hide resolved
owncloudApp/src/main/java/com/owncloud/android/ui/preview/PrepareVideoPlayerAsyncTask.java
Outdated
Show resolved
Hide resolved
owncloudApp/src/main/java/com/owncloud/android/ui/preview/PreviewVideoActivity.kt
Show resolved
Hide resolved
owncloudApp/src/main/java/com/owncloud/android/ui/preview/PreviewVideoActivity.kt
Outdated
Show resolved
Hide resolved
owncloudApp/src/main/java/com/owncloud/android/ui/preview/PreviewVideoActivity.kt
Outdated
Show resolved
Hide resolved
owncloudApp/src/main/java/com/owncloud/android/ui/preview/PreviewVideoActivity.kt
Show resolved
Hide resolved
7280169
to
4cffcc2
Compare
Hi, I resolved the changes and pushed the commits you asked and commented to some of the queries you had. Have a look. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice @parneet-guraya! Approved from my side 💯! Thanks for applying the changes I requested and answering my questions 😃
Let's move this on to QA and let it in @jesmrec's hands 🎉
hi @parneet-guraya. Now, it's time for the QA after the code review was approved. It's a functional review in order to find defects or bad behaviours that hurts the user experience. In case i find any of them, i'll report in separated messages with all the information required to reproduce. Let's go for it! |
QA checks:
|
(1)
Current: Top bar shows Not sure how the video preview and the details view are connected and exchange info, but this behaviour is not reproducible in Pixel2 Android11 |
Hi @jesmrec, yes you're right it does do what you've said. Actually earlier we were using fragment and it was in the main activity so handling details fragment was being done from there. Since, we moved to the activity(from fragment) I need to launch the details fragment separately somehow. I am looking into it. |
So, here's how these buttons supposed to work -->
Since, we're only rendering single item (not passing a list of media items) they are not much of a use. You can see how google drive's doing it. It removes both |
I'd do that because it's confusing for the user: one item disabled and the other with a non-clear meaning. I'd keep the other three. Feasible then @parneet-guraya ? |
Yup 👍 working on it. |
Hi, @jesmrec @JuancaG05 , regarding this behaviour I found out that this is also happening in the Record_2023-10-11-19-56-15.mp4Both Also, I removed the Record_2023-10-11-20-12-15.mp4 |
2a601ef
to
6f290bb
Compare
You're right. In
That's good!!! |
In Do you think you can upload a quick fix/patch for the download issue so that we don't introduce new bugs and then move the details fragment wrong triggering to another issue? |
6f290bb
to
532e7b9
Compare
Hi, @JuancaG05 thanks for the explaination to @jesmrec.
Yes, I did push the hotfix have a look 👇 Record_2023-10-15-15-44-51.mp4Also, I found another Issue also related to activity. See below 👇 Record_2023-10-15-16-00-23.mp4This is what is happening -->
It is also reproducable in the Here's what I think the reason is (from a quick look at the behaviour) -->
Like the |
You rock!! 🎸
Yes, it seems the problem is this very clearly. The solution could be just removing the previous stack somehow when we are in a preview screen (at least when it is an activity) and we go to the details screen. But as you said, this can be addressed in another issue, maybe all together with the other bug in the details screen. I will create the issue 👍 |
Thanks @parneet-guraya for fixing the problem, and sure, thanks for your engagement. Thanks @JuancaG05 for opening new issue with the remaining problems with the browsing. Work is done from my side. This one can be moved forward to |
Here is the new issue I created with the existing problems in the details screen: #4188 |
Signed-off-by: parneet-guraya <[email protected]>
Signed-off-by: parneet-guraya <[email protected]>
Signed-off-by: parneet-guraya <[email protected]>
Signed-off-by: parneet-guraya <[email protected]>
Signed-off-by: parneet-guraya <[email protected]>
Signed-off-by: parneet-guraya <[email protected]>
Signed-off-by: parneet-guraya <[email protected]>
Signed-off-by: parneet-guraya <[email protected]>
Signed-off-by: parneet-guraya <[email protected]>
Signed-off-by: parneet-guraya <[email protected]>
Signed-off-by: parneet-guraya <[email protected]>
Signed-off-by: parneet-guraya <[email protected]>
Signed-off-by: parneet-guraya <[email protected]>
Signed-off-by: parneet-guraya <[email protected]>
Signed-off-by: parneet-guraya <[email protected]>
Signed-off-by: parneet-guraya <[email protected]>
Signed-off-by: parneet-guraya <[email protected]>
Signed-off-by: parneet-guraya <[email protected]>
532e7b9
to
78f84e7
Compare
Happy to contribute as always 😄 |
One last thing @parneet-guraya, there's a KtLint report that prevents BitRise from passing: It's pretty simple, could you take a last look? 🤓 |
Signed-off-by: parneet-guraya <[email protected]>
done. |
Solves: #4157
What this PR includes?
PreviewVideoFragment
toPreviewVideoActivity
Activity Migration Working Demo
Record_2023-10-03-19-44-46.mp4
Media3 migration demo
Record_2023-10-03-19-45-20.mp4