-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Fix issues with Media Tab & performance improvement. #11321
Conversation
Fix issues with Media Tab & performance improvement.
Are there any news regarding testing and possible moving this change to the release? |
@eraser2021999 |
app/src/main/java/com/owncloud/android/ui/asynctasks/GallerySearchTask.java
Outdated
Show resolved
Hide resolved
app/src/main/java/com/owncloud/android/ui/asynctasks/GallerySearchTask.java
Outdated
Show resolved
Hide resolved
app/src/main/java/com/owncloud/android/ui/asynctasks/GallerySearchTask.java
Outdated
Show resolved
Hide resolved
app/src/main/java/com/owncloud/android/ui/fragment/GalleryFragment.java
Outdated
Show resolved
Hide resolved
app/src/main/java/com/owncloud/android/ui/fragment/GalleryFragment.java
Outdated
Show resolved
Hide resolved
@eraser2021999 I have run some tests and with these changes the Media tab is indeed much more stable. 👍 I have not noticed negative side-effects. I have put a few small comments above regarding unused variables - should be trivial to change. Also a trivial change suggested by Codacy Static Code Analysis: https://github.com/nextcloud/android/pull/11321/files#annotation_8372803674 I have managed to crash the app in the emulator - but this seems to be unrelated to this PR. On the actual phone the app was stable - although this was on an old version of Android (7). The previous version was even easier to crash. This will need to be investigated separately. Generally - looks good to me. PS. @eraser2021999 - When making updates, please do not sync your master branch with master in nextcloud/android. Hopefully this will let us avoid problems with Git. |
Minor refactoring on Media Tab.
@starypatyk @AlvaroBrey I kindly ask you to retest, to make sure I didn't introduced new bugs and, if everything is ok. Thanks a lot! |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #11321 +/- ##
============================================
+ Coverage 31.44% 31.60% +0.15%
- Complexity 3413 3424 +11
============================================
Files 575 575
Lines 42018 42016 -2
Branches 5660 5662 +2
============================================
+ Hits 13214 13279 +65
+ Misses 26861 26778 -83
- Partials 1943 1959 +16
|
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.
Tested briefly, looks fine. 👍
Thanks @eraser2021999!
Any update on the release progress? |
@tobiasKaminsky can you review? |
@tobiasKaminsky what is missing here? |
Wow, really 2 months for a code review...do you plan to implement it? @szaimen @AlvaroBrey |
Sorry for the delay, we are currently a bit understaffed… :S |
Thanks a lot for this PR! Just tested it and works much faster! 🚀🎉 |
Signed-off-by: Bogdan Coticopol bcoticopol@gmail.com
References:
#10882 Slow Media Tab View
#11281
For more info, please check the discussion at the above references.
CC: @AlvaroBrey @starypatyk