Commit Graph

34 Commits

Author SHA1 Message Date
contrudar 17bab40222 get rid of the activites 2016-10-03 19:53:43 +03:00
contrudar aba30dc710 handle onBackPressed() in Fragment 2016-09-30 19:08:08 +03:00
contrudar d488178c90 don't check a directory in depth 2016-09-27 23:12:29 +03:00
contrudar 5404a689ff filter files and folders by a file extension 2016-09-27 22:28:22 +03:00
Jonas Kalderstam 2ad444a425 Hide files correctly in new mode 2016-07-03 16:24:06 +02:00
Jonas Kalderstam f9e0f017bf Fix problem with startpath being a file 2016-06-26 23:12:16 +02:00
Jonas Kalderstam ccab74a8ef Merge branch 'master' into newfile 2016-06-26 12:50:54 +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 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 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
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
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 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 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 4342817a49 Fix some lint stuff
Signed-off-by: Jonas Kalderstam <jonas@kalderstam.se>
2015-04-28 12:48:39 +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
Andrey 5ec39c4ba8 NPE on empty directory
Use listFiles variable instead of calling again File.listFiles
2014-07-13 19:33:17 +04:00
Andrey 66d24112ff NPE on empty directory
Fixes NullPointerException when SD card is empty. 
File.listFiles() can return null.
http://developer.android.com/reference/java/io/File.html#listFiles%28%29
2014-07-13 19:29:10 +04:00
Jonas Kalderstam 717a460a80 Add a default constructor for filepicker
Signed-off-by: Jonas Kalderstam <jonas@kalderstam.se>
2014-06-12 12:12:10 +02:00
Jonas Kalderstam a17d6552d7 Handle case if directory does not exist in FilePicker
Fixes #4
2014-04-02 12:17:44 +02:00
Jonas Kalderstam 26b05955df Picker now has more options
Removed onlyDirs in favor of a mode variable. Now possible to
select between: Files, Dirs, or Both.

The ability to create directories is now an option as well
which defaults to false.

Fixes #1
Fixes #2
2014-04-02 01:54:19 +02:00
Jonas Kalderstam cab9cd63a3 Basis for selecting multiple files. Need UI parts. 2014-03-31 17:53:39 +02:00
Jonas Kalderstam a66bfdb4d2 Lint fixes 2014-03-31 02:44:38 +02:00
Jonas Kalderstam 9a0882a1be File version fully operational 2014-03-31 02:32:06 +02:00
Jonas Kalderstam 9804654347 Basic functionality implemented 2014-03-30 19:19:53 +02:00