Robert Nitsch
60fb26ab0a
Speed up directory listing by factor 4-5 by improving getChildren function
...
The speed up is achieved by multiple changes:
1) Use list() instead of listFiles() function. The former only returns a String array
containing the relative pathnames, and therefore is faster and consumes less
memory.
2) The list() function should only be called once. In the previous implementation,
the function was called twice (for directories). The first time it was only checked
against null and then thrown away.
3) The Strings do not have a "isHidden" property, obviously. However, hidden
files can be easily distinguished by checking if the first character is a dot (".").
Performance tests were done in a directory with 12 sub-directories that have
about 900 children in total. The old implementation needed about 400-500 ms
to list the directory. With the new implementation, only 100ms are needed.
2017-07-08 15:11:56 +02:00
tibbi
01e459d4d5
updating changelog
2017-04-24 19:08:42 +02:00
tibbi
61aeb4b875
update version to 2.2.2
2017-04-24 19:08:37 +02:00
tibbi
333cacfd03
fix #61 , properly show root folder content
2017-04-24 19:03:54 +02:00
tibbi
9e3207f1bb
updating changelog
2017-04-19 21:18:02 +02:00
tibbi
fee95bd35c
update version to 2.2.1
2017-04-19 21:16:34 +02:00
tibbi
8c457f0a4c
remove the leftovers of the previous copy/move dialog
2017-04-19 21:13:36 +02:00
tibbi
69aacd57d3
use the copy function of the Commons library
2017-04-19 20:46:30 +02:00
Tibor Kaputa
40ce55a55e
Merge pull request #68 from trubitsyn/master
...
Finish Russian translation
2017-04-19 19:52:00 +02:00
Nikola Trubitsyn
0a1d1077a1
Finish Russian translation
2017-04-19 20:25:42 +03:00
tibbi
1e67bc9823
remove some redundant function
2017-04-18 18:13:26 +02:00
tibbi
a9520ef182
reset the actMode on destroy
2017-04-17 23:12:12 +02:00
tibbi
248595cde2
adding a null check to listFiles()
2017-04-17 23:08:50 +02:00
tibbi
db42e1ed26
update commons to 2.16.9
2017-04-17 23:05:54 +02:00
tibbi
9d7c0c74b8
updating changelog
2017-04-08 00:12:57 +02:00
tibbi
d781ffed15
update version to 2.2.0
2017-04-08 00:11:28 +02:00
tibbi
b57c8da986
dont do anything on Home press when we are home
2017-04-08 00:11:01 +02:00
tibbi
84bc826988
update gradle and commons
2017-04-08 00:08:12 +02:00
Tibor Kaputa
8afee1f56b
Merge pull request #65 from rodymacedo/patch-1
...
Update strings.xml
2017-03-28 22:41:03 +02:00
Rodrigo
6fb203d4dc
Update strings.xml
2017-03-28 17:34:36 -03:00
tibbi
d2ecebba24
make activity at fillItems nullable
2017-03-28 22:32:36 +02:00
tibbi
b11cf0a525
adding a brazil portuguese file
2017-03-28 20:28:15 +02:00
Tibor Kaputa
e8eceece86
Merge pull request #63 from anthologist/master
...
Update italian
2017-03-23 15:02:11 +01:00
anthologist
06c5a71fb2
Update strings.xml
2017-03-23 14:27:53 +01:00
Tibor Kaputa
b7a13b1a8b
Merge pull request #62 from smarquespt/master
...
Portuguese update
2017-03-21 18:16:09 +01:00
Sérgio Marques
467368e668
Portuguese update
2017-03-21 16:12:32 +00:00
tibbi
b7815d1d44
update commons to 2.13.7
2017-03-19 20:49:05 +01:00
tibbi
3b3e920cfa
use the default version of Portugal language
2017-03-19 20:06:23 +01:00
tibbi
129ce686e0
adding the sorting in release notes
2017-03-19 11:53:25 +01:00
tibbi
2f4119faac
adding file sorting
2017-03-19 11:50:57 +01:00
tibbi
12d234d0d5
make item displaying asynchronous
2017-03-19 10:58:21 +01:00
tibbi
c2fe859e94
change sorting by "Date taken" to "Extension"
2017-03-19 10:39:47 +01:00
tibbi
6ccd49337a
add some initial sorting related things
2017-03-19 10:06:57 +01:00
tibbi
24cda6a3bf
updating changelog
2017-03-18 20:32:50 +01:00
tibbi
6026f39171
update version to 2.1.0
2017-03-18 20:32:08 +01:00
tibbi
e39c2955e7
update Release notes
2017-03-18 20:31:39 +01:00
tibbi
3e7fec4f72
show the total file count at long press selection too
2017-03-18 20:27:54 +01:00
tibbi
348a19657e
update commons to 2.13.0
2017-03-18 20:22:14 +01:00
tibbi
2d9428f19a
add fastscroller
2017-03-18 20:03:45 +01:00
tibbi
402ec7d8ab
show file thumbnails with glide
2017-03-18 19:57:32 +01:00
tibbi
bfb79e315d
update commons to 2.12.9
2017-03-18 19:54:39 +01:00
tibbi
26d7b50475
set cache type to Source at gifs
2017-03-18 19:11:29 +01:00
tibbi
fde83fdc5a
add a menu item for Adding favorites at the manage favorites screen
2017-03-18 19:02:08 +01:00
tibbi
54b13bb54e
show a placeholder text when theres no favorite folders
2017-03-18 18:47:54 +01:00
tibbi
ac4d65c69d
show the Go To Favorite button only if there are any favorites
2017-03-18 18:44:35 +01:00
tibbi
9327542b7a
list favorite folders in the Manage favorites activity
2017-03-18 18:41:14 +01:00
tibbi
20bfd48e3f
add an activity for managing favorite items
2017-03-18 18:02:42 +01:00
tibbi
f250fee69c
never show Go to favorite as an action
2017-03-18 17:54:38 +01:00
tibbi
e76023ee26
implement the Go To Favorite dialog
2017-03-18 17:52:40 +01:00
tibbi
3f6683ee09
do not notify dataset change on resume
2017-03-18 17:42:07 +01:00