diff options
author | aleksandar-stefanovic <theonewithideas@gmail.com> | 2017-01-11 19:21:06 +0100 |
---|---|---|
committer | jan iversen <jani@documentfoundation.org> | 2017-01-16 08:03:42 +0000 |
commit | a2945d837b7026f764ac5269c4d2453eb0862ee6 (patch) | |
tree | 8d1086d7fa1d3049975ed7c6b8e632d3cede2feb /helpcompiler | |
parent | b610c98b5981b9d2ab531196e17a6c6059e8d272 (diff) |
Replaced list and grid with RecyclerView
Because RecyclerView is more optimized, especially if there are lot
of items. This way, we don't have to recreate ListView and GridView
each time we switch view modes. Changed list adapter to appropriate
RecyclerView adapter, and created new grid adapter inline, next to
the list adapter, while deleting the older grid adapter file. Since
these adapters are almost identical in content, maybe we could:
a) Make them extend the same "base" adapter, to avoid duplicate code
b) Unite them into one adapter which would display appropriate views
at appropriate times.
Change-Id: I1545c2c245ca642a689dee584bffb15f90aac4a6
Reviewed-on: https://gerrit.libreoffice.org/32976
Reviewed-by: jan iversen <jani@documentfoundation.org>
Tested-by: jan iversen <jani@documentfoundation.org>
Diffstat (limited to 'helpcompiler')
0 files changed, 0 insertions, 0 deletions