Skip to content

MATERIAL DESIGN: As an OC user I want that the new list & grid components from Material Design replace the current so that performance is improved in folders with hundreds of files & images #984

Closed

Description

@davivel

Google states that the new elements for lists and grid view included in the Android Support Library help to improve the performance of lists and grids with tons of elements. I couldn't check it, but it's obvious they enforce the recycling of views instead of simply allowing the option to do it (or the option to forget to do it and have problems; see #955 fixing it). If there is also a better recycling policy behind, we will only notice it by start using them.

Nevertheless, there are other important reasons to embrace this change:

  • The GridView widget currently in use is a mess; it's not fully implemented in all the Android versions (even in different 4,x versions). This fact already caused crashes in the past, and is still enforcing some undesired graphical effect in older 4.x devices (my lips are sealed). Using the new Grid element in Android Support Library we will have a single and complete implementation for all our grids.
  • Both components are needed if we want to take advantage of new elements for cool animations in Material Design.

Sure of interest for @tobiasKaminsky , @jancborchardt , and everybody is welcome.

Just please, remember, that #692 should be done first (or at least the part of the build target).


Details

Branch

Implementation will be done on feature branch https://github.com/owncloud/android/tree/984_recycler_view

Issues

Issues referenced/mentioned in this issue and their current status:

TODOs

  • Bump support lib to latest version - Bump support libs to 23.3 #1557
  • Add recycler view dependency for gradle and ant
  • implement recycler view for list and grid

Activity

  1. ddijak commented on Aug 8, 2015

    @ddijak

    why just not use recycler view and LayoutManager to show list or Grid?
    Plus its ViewHolder implementation would save a lot of resources, because currently what we have implemented as ViewHolder in FileListListAdapter is laughable.

  2. Kernald commented on Aug 8, 2015

    @Kernald
    Contributor

    @Skymania actualy, that's the whole point of this issue.

  3. ddijak commented on Aug 8, 2015

    @ddijak

    I hope so.

  4. jancborchardt commented on Aug 8, 2015

    @jancborchardt
    Contributor

    @Skymania since it sounds like you’re experienced, maybe you’re interested in contributing? :) I’m sure if you need any help, @davivel @tobiasKaminsky @AndyScherzinger can help you.

  5. AndyScherzinger commented on Aug 8, 2015

    @AndyScherzinger
    Contributor

    Absolutely! :) The material_toolbar branch is probably a good starting point since it contains most of the material implementation and the latest AppCompat release.

  6. ddijak commented on Aug 9, 2015

    @ddijak

    I have implemented toolbar, recycler view and UIL. Currently Im working on navigation drawer but time is not currently on my side so I have no idea when I will have the time to proceed with material implementations. I have to upload all the changes I made on github tho.

  7. jancborchardt commented on Aug 9, 2015

    @jancborchardt
    Contributor

    @Skymania please do a pull request even when it's work in progress so we can already review. If a pull request is too big, risk is high it's very difficult to merge.

  8. AndyScherzinger commented on Aug 10, 2015

    @AndyScherzinger
    Contributor

    @ all how should we all move forward with this overall topic, since we now have this, #1076 and #1090 and @Skymania provides the next implementation (which is fine with me) and I provided the action bar variant. So imho we need some kind of coordination to not implement everything twice :)

  9. jancborchardt commented on Aug 10, 2015

    @jancborchardt
    Contributor

    I’d say we should wait for #1076 to be QA'd and merged – which will hopefully happen soon. Then #1090 shortly after (we need it in the next cycle @davivel).

    Then after that we can build on top of that. Otherwise it just becomes unmanageable. There’s no reason to cram all of these improvements in such a short amount of time now. ;)

  10. AndyScherzinger commented on Aug 10, 2015

    @AndyScherzinger
    Contributor

    Sounds reasonable @jancborchardt - thanks for the clarification :)

  11. ddijak commented on Nov 26, 2015

    @ddijak

    Finally found some time and I am currently using this for my owncloud server. Still in development tho. Made huge code optimizations so everything is running smooth as it should be.

  12. 30 remaining items

  13. added this to the milestone on Jul 14, 2016
  14. modified the milestones: 2.3.0, on Aug 12, 2016
  15. modified the milestones: 2.4.0, 2.3.0 on Mar 9, 2017
  16. modified the milestones: , 2.4.0 on Apr 11, 2017
  17. davivel commented on Apr 11, 2017

    @davivel
    ContributorAuthor

    Sorry, but we need to drop issues from milestone 2.4.0 to get it out next to OC 10 server.

    This time we'll move topics to backlog instead of directly to next release, so that we can schedule 2.5.0 properly.

  18. removed their assignment
    on Apr 1, 2022
  19. removed this from the milestone on May 3, 2024
  20. DeepDiver1975 commented on Jun 26, 2026

    @DeepDiver1975
    Contributor

    🤖 Automated issue triage by Claude Code review agent.

    This issue was opened before 2020 and has had no activity since then, so we are
    closing it as outdated. If this is still relevant on a current ownCloud release,
    please reopen (or open a fresh issue) with up-to-date details — thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions