Commit Graph

70 Commits

Author SHA1 Message Date
Jonas Kalderstam 2ad444a425 Hide files correctly in new mode 2016-07-03 16:24:06 +02:00
Jonas Kalderstam 5e8dc9136c Fix failing tests 2016-07-03 16:05:22 +02:00
Jonas Kalderstam f9e0f017bf Fix problem with startpath being a file 2016-06-26 23:12:16 +02:00
Jonas Kalderstam ff6c4cdbf9 Fix failing test 2016-06-26 22:08:53 +02:00
Jonas Kalderstam 4bcdd24f68 Espresso tests! 2016-06-26 19:31:44 +02:00
Jonas Kalderstam 4a1217af4b Fix test compile error 2016-06-26 13:58:01 +02:00
Jonas Kalderstam ccab74a8ef Merge branch 'master' into newfile 2016-06-26 12:50:54 +02:00
Jonas Kalderstam 7082354e12 Fix some styling and add singleClick to sample 2016-06-25 23:48:54 +02:00
rastik 16ac20ddb3 Select one file with a single click 2016-06-25 00:16:18 +02:00
Jonas Kalderstam 947972869c Add a getItem method to FileItemAdapter
And make its field protected.
2016-06-08 23:58:02 +02:00
Jonas Kalderstam c9d70351e1 Pass path into permission and refresh handlers
This allows for better handling in case of denied/missing permissions,
as well the ability to request more fine-grained permissions.

Fixes #85
Fixes $84
2016-05-29 15:54:09 +02:00
Jonas Kalderstam 0e0aab38e5 If the name is changed, deselect items 2016-05-20 00:37:50 +02:00
Jonas Kalderstam c8978a9880 Add a new mode for picking new files
This adds a new mode so the library can be used for
"Save-As"-dialogs.

Fixes #82
2016-05-20 00:37:50 +02:00
Jonas Kalderstam b48f2d9a02 Add missing Override annotation 2016-05-19 23:51:44 +02:00
Jonas Kalderstam 82fedcb24b Add Nullable/Nonnull annotations to interfaces 2016-05-13 23:07:11 +02:00
Jonas Kalderstam 94af45be96 Make tint colors overridable 2016-05-13 20:41:05 +02:00
Jonas Kalderstam c7d71208df Migrate to new SVG icons instead of PNGs 2016-05-13 20:39:57 +02:00
Jonas Kalderstam 9880562413 Show a progress bar when loading dropbox directory
Fixes #74
2016-02-24 02:00:14 +01:00
Jonas Kalderstam 0351a69858 Add missing underscore
Just for consistency's sake

Fixes #63
2016-02-24 02:00:14 +01:00
Jonas Kalderstam c83ad0afc3 Do not load directory again if already loading
Fixes crash if user quickly taps on two different directories,
where loading directories take a while, like Dropbox or any
other network source.

Fixes #73
2016-02-24 02:00:14 +01:00
Jonas Kalderstam e9211ff53f Change to the MPL
To actually be compatible with Android and because it
is more aligned with my interests.

fixes #66
2016-01-14 00:52:08 +01:00
Jonas Kalderstam 846c5e209e Add separator above OK/Cancel buttons
Fixes #60
2015-11-08 21:42:31 +01:00
dvrajan 25676ceb9a Moving hiddenitmes option to FilePickerFragment.java 2015-10-31 01:13:01 +05:30
dvrajan ef45d18ae3 fixing variable name typo 2015-10-26 23:17:55 +05:30
dvrajan 81b6085731 Hidden files will not be shown by default, can diplay them if required 2015-10-26 23:16:13 +05:30
marbat87 45f2641bb0 Lowered minSdk to API 9 2015-09-30 12:06:18 +02:00
Jonas Kalderstam 7201a2130e Make click events overridable.
Fixes #48
2015-08-25 13:01:38 +02:00
Jonas Kalderstam 0705e697dc Remove unused string 2015-08-25 12:59:57 +02:00
Jonas Kalderstam bbc03961ed Make list focusable.
Appears to make the filepicker usable in non-touch screen environments
(e.g. D-Pad).

Fixes #44
2015-08-20 22:32:56 +02:00
Jonas Kalderstam e26b6fcee6 Correctly ask for permission on pre-M versions. 2015-08-18 19:26:43 +02:00
Jonas Kalderstam c2f4f054b7 Handle runtime permissions in Android M.
Fixes #24
2015-08-18 18:06:38 +02:00
Jonas Kalderstam 4a2001ef57 Do not override existing arguments
Fixes #40

Signed-off-by: Jonas Kalderstam <jonas@kalderstam.se>
2015-08-04 12:44:38 +02:00
Huxley Oosthuizen e414ce5b54 Ensure toasts don't get queued up 2015-08-03 12:34:11 +02:00
Jonas Kalderstam 4a6e0ae034 Remove all tags from library manifest
They are not needed in libraries and only result in
conflicts. Fixes #34.

Signed-off-by: Jonas Kalderstam <jonas@kalderstam.se>
2015-07-17 12:11:29 +02:00
Jonas Kalderstam 2ede72dca9 Fragment can now be used together with action bar
Now possible to load the fragment even with existing
toolbar, as long as setupToolbar() is overriden.

Fixes #32

Signed-off-by: Jonas Kalderstam <jonas@kalderstam.se>
2015-07-13 14:14:32 +02:00
Jonas Kalderstam 4124e8ea20 Prefix resources
And add an overridable toolbar theme. Fixes #31

Signed-off-by: Jonas Kalderstam <jonas@kalderstam.se>
2015-07-13 13:50:08 +02:00
Jonas Kalderstam 60a971cb76 Add some basic unit tests
And update travis to run them
2015-06-01 18:50:24 +02:00
Jonas Kalderstam 81a9a5cf31 Use default ripple selectable
And then remove unneeded drawables
2015-06-01 18:50:24 +02:00
Jonas Kalderstam b389f5941d Fix lint issue: move to black icons
Signed-off-by: Jonas Kalderstam <jonas@kalderstam.se>
2015-06-01 18:50:24 +02:00
Jonas Kalderstam 8f02d2127e Correctly block going above root-folder
And update to newer support library versions and android targets
2015-05-30 14:53:08 +02:00
Jonas Kalderstam 0152b152db Add convenience methods for sorting and filtering
Signed-off-by: Jonas Kalderstam <jonas@kalderstam.se>
2015-05-30 14:18:15 +02:00
Jonas Kalderstam 5d01201646 Add a method for easily being able to filter the list
Signed-off-by: Jonas Kalderstam <jonas@kalderstam.se>
2015-05-30 14:01:33 +02:00
Jonas Kalderstam 38f4ee21c4 Make createdir depend only on CREATE_DIR argument
Fixes #25

Signed-off-by: Jonas Kalderstam <jonas@kalderstam.se>
2015-05-30 13:52:56 +02:00
NitroG42 199f2d8ced Removed unneeded ic_launcher 2015-05-01 20:41:32 +02:00
Jonas Kalderstam 9857de8523 Handle rotation correctly
fixes #15

Signed-off-by: Jonas Kalderstam <jonas@kalderstam.se>
2015-04-29 22:57:02 +02:00
Jonas Kalderstam 50e826f5ad Fix parent container issue
Signed-off-by: Jonas Kalderstam <jonas@kalderstam.se>
2015-04-28 19:27:06 +02:00
Jonas Kalderstam 4342817a49 Fix some lint stuff
Signed-off-by: Jonas Kalderstam <jonas@kalderstam.se>
2015-04-28 12:48:39 +02:00
Jonas Kalderstam 7926f8058b Fix some lint stuff
Signed-off-by: Jonas Kalderstam <jonas@kalderstam.se>
2015-04-28 12:28:44 +02:00
Jonas Kalderstam 711e68f20f Update license and version
Signed-off-by: Jonas Kalderstam <jonas@kalderstam.se>
2015-04-28 00:18:53 +02:00
Jonas Kalderstam 33d8c38bd6 Update to Material Design
and newer API using RecyclerView.

Signed-off-by: Jonas Kalderstam <jonas@kalderstam.se>
2015-04-28 00:18:52 +02:00