Commit graph

1979 commits

Author SHA1 Message Date
tibbi
6e259ab994 fix #918, delete empty folders after Move too when appropriate 2018-08-20 22:56:09 +02:00
tibbi
7fc8d4a3d8 fix #909, rely on date_time_original before date_time 2018-08-20 22:43:07 +02:00
tibbi
d590ac2dc2 do not use lower resolution images at fullscreen view before adding the zoomable 2018-08-20 21:39:04 +02:00
tibbi
7ef35207d2 fix displaying SVG thumbnails 2018-08-20 21:28:10 +02:00
tibbi
8e9bbbe451 handle showing fullscreen svg files 2018-08-20 20:58:11 +02:00
tibbi
75d9e03981 enable SVG showing for people who upgrade the app 2018-08-20 20:24:39 +02:00
tibbi
d2f5fdfd03 fix #67, show SVG files 2018-08-20 20:20:59 +02:00
tibbi
44f171bbf5 fix #900, handle one finger zooming toggle at PhotoView too 2018-08-14 12:27:39 +02:00
tibbi
bd084a09b4 fix #901, make sure "Temporarily show hidden" persists through device rotation 2018-08-14 10:12:51 +02:00
tibbi
0ced7023f1 fix #913, at fixing the Date Taken value update it at Favorite items too 2018-08-14 09:10:21 +02:00
tibbi
f01410bb1e fix #911, try using Glide for image loading, if Picasso fails 2018-08-13 23:40:17 +02:00
tibbi
fe69f400ab remove the glide photoview clearing 2018-08-13 22:19:45 +02:00
tibbi
99f4a65dc1 wrap whole picasso loading in a try/catch block 2018-08-13 21:43:24 +02:00
tibbi
c708f183e2 encode percent sign at file paths too 2018-08-13 21:41:13 +02:00
tibbi
9aaee4e648 fix #904, properly show images with hashtag in their path 2018-08-13 21:37:06 +02:00
tibbi
5505594c29 properly load content:// uris at PhotoFragment 2018-08-08 22:53:09 +02:00
tibbi
d647bbb583 disable subsampling view at swiping away from it 2018-08-08 22:28:03 +02:00
tibbi
da70c220d2 fix #896, ignore fullscreen toggling at fading play/pause 2018-08-08 22:05:43 +02:00
tibbi
b58f808068 setup deep zoomable images only when appropriate 2018-08-08 16:59:27 +02:00
tibbi
458686865b adding a toggle for allowing deep zoomable images 2018-08-08 16:37:38 +02:00
tibbi
c9a084c4e4 allow using the PhotoView zoom if loading Subsampling fails 2018-08-08 16:05:06 +02:00
tibbi
f40543ae3b shorten some code at PicassoRegionDecoder 2018-08-08 12:54:59 +02:00
tibbi
686cee83ed remeasure the screen if the width and height are set to 0 at fullscreen view 2018-08-07 20:14:57 +02:00
tibbi
83def1d288 catch exceptions thrown at storing media in a db 2018-08-07 13:34:01 +02:00
tibbi
2d3cc070ae remove the Replace Deep Zoomable images... option 2018-08-07 12:42:13 +02:00
tibbi
8868b73d28 do not use half resolution at loading initial bitmap 2018-08-07 12:38:37 +02:00
tibbi
1fa54e6c1a add handling for rotating fullscreen images 2018-08-07 12:26:56 +02:00
tibbi
31f3396450 preload a smaller resolution fullscreen image first 2018-08-07 11:56:20 +02:00
tibbi
23dd5baaa4 use Picasso as a decoder for fullscreen SubsamplingScaleImageView images 2018-08-06 23:59:49 +02:00
tibbi
4bae35955d launch the zoomable imageview load at fullscreen views earlier 2018-08-05 12:05:28 +02:00
tibbi
0219848d5a adding a null check 2018-08-02 08:35:16 +02:00
tibbi
a7d21a52eb update commons to 4.5.13 2018-08-01 14:39:22 +02:00
tibbi
b2222dd1b5 properly check "Slideshow" bottom action at the app settings 2018-07-30 15:50:27 +02:00
tibbi
8e23c54978 update commons to 4.5.12 2018-07-30 15:38:22 +02:00
tibbi
74f88583d2 fix #857, improve fullscreen toggling at Immersive mode 2018-07-30 14:23:48 +02:00
tibbi
1567ca05fb add a null check at getting current path 2018-07-30 12:31:54 +02:00
tibbi
7b2af9faeb fix #886, fade away both play/pause button after a few secs 2018-07-30 12:28:42 +02:00
tibbi
613bbdd214 do not allow renaming files in the recycle bin, related to #883 2018-07-29 22:28:57 +02:00
tibbi
5ea99ab22d pass the MediumDao and DirectoryDao to some activity extension functions 2018-07-29 22:06:49 +02:00
tibbi
e1214b4d47 store MediumDao and DirectoryDao globally in Main and Media activities 2018-07-29 21:54:27 +02:00
tibbi
61d83750aa disable recycle bin showing if the user tries to hide or exclude it 2018-07-26 14:01:51 +02:00
tibbi
a8ea2ddbd8 fix #837, add an extra check to make sure bin files are restoring properly 2018-07-26 13:04:24 +02:00
tibbi
8d7366d228 fix #870, do not release exoPlayer on surface destroy 2018-07-26 12:56:14 +02:00
tibbi
6e62039ae4 do not update the directories arraylist right after deleting items 2018-07-25 22:29:14 +02:00
tibbi
452bcdbe4a add a menu item for fixing file Date Taken value 2018-07-25 22:11:01 +02:00
tibbi
ca5cd986f3 catch OutOfMemoryError at getting image orientation 2018-07-24 14:29:51 +02:00
tibbi
cce033f89c catch out of memory exceptions at checking if image is a panorama 2018-07-24 13:27:37 +02:00
tibbi
e4df3a0cbe enable writeAheadLogging at the gallery database 2018-07-24 13:25:06 +02:00
tibbi
7b2a181942 use a background thread for setting video surface 2018-07-24 13:09:14 +02:00
tibbi
b93ab89731 add an extra check to remove the empty "Favorites" folder if necessary 2018-07-24 11:36:00 +02:00
tibbi
624a0d5ca3 adding Android Photo Filters license 2018-07-24 11:28:04 +02:00
tibbi
d848f0b305 scroll the editor filters list horizontally when we reach an edge 2018-07-24 00:13:46 +02:00
tibbi
51a36e5d85 always initialize the Editor in crop_rotate mode 2018-07-23 22:07:11 +02:00
tibbi
f8cf95991f use bottom actions at Set Wallpaper intent too 2018-07-23 21:55:17 +02:00
tibbi
8c72bebe72 catch out of memory errors at saving images with filters 2018-07-23 21:11:41 +02:00
tibbi
9cfab3abc3 hide the bottom primary actions at editor crop intent 2018-07-23 12:49:05 +02:00
tibbi
91bb5b70de automatically switch to crop_rotate primary action at Crop intent 2018-07-23 12:36:08 +02:00
tibbi
3c48af1c91 handle saving images with a filter applied 2018-07-23 12:24:09 +02:00
tibbi
04da0fc1cf flip between crop and default image view as necessary 2018-07-23 00:15:48 +02:00
tibbi
f2151c1536 rename shownBitmap to initialBitmap 2018-07-22 23:32:14 +02:00
tibbi
e17aa8b4b8 mark the currently selected filter with a white stroke 2018-07-22 22:17:30 +02:00
tibbi
1112d5f19b apply the selected filter on the fullscreen shown image 2018-07-22 22:02:08 +02:00
tibbi
c17f77ceda adding a new None filter as the first item 2018-07-22 21:28:38 +02:00
tibbi
d308dfb069 use Glide for loading the initial image in the editor 2018-07-22 21:13:04 +02:00
tibbi
efa2c9777e create filter thumbnails just once, not at every filter toggle 2018-07-20 11:48:56 +02:00
tibbi
0e7eac1650 do not make FilterThumbnailsManager static 2018-07-20 11:47:41 +02:00
tibbi
efa93ef1a3 create a new bitmap copy at every filter 2018-07-20 11:43:27 +02:00
tibbi
8c116f6c16 apply the filters on thumbnail items 2018-07-20 11:07:25 +02:00
tibbi
dbaacd596e show a list of thumbnails at the editor, for applying filters 2018-07-19 23:36:46 +02:00
tibbi
85e105819c add an Editor horizontal recyclerview that will hold the filter previews 2018-07-19 21:15:54 +02:00
tibbi
baec75dc62 add some more buttons at the bottom of the Editor 2018-07-19 20:12:03 +02:00
tibbi
588754d999 toggle cropper guidelines visibility depending on the primary action 2018-07-19 12:01:46 +02:00
tibbi
188f03aa54 enable edit cropper by default, with visible grid 2018-07-19 11:24:46 +02:00
tibbi
d77b2e1890 avoid excluding the Recycle bin and Favorites folders 2018-07-19 00:04:02 +02:00
tibbi
010a957361 implement the functionality of aspect ratio toggling 2018-07-18 23:09:34 +02:00
tibbi
17e02d568a adding editor buttons for aspect ratios 2018-07-18 22:13:05 +02:00
tibbi
d116f66228 toggle bottom edit action buttons on press 2018-07-18 21:28:03 +02:00
tibbi
a633330c8e add an aspect ratio selector to the Editor activity 2018-07-18 21:14:03 +02:00
tibbi
87f90879ea replace the editors Flip menu items with bottom actions 2018-07-18 20:07:47 +02:00
tibbi
868b654107 move some Editor actions at the bottom of the screen 2018-07-18 19:33:41 +02:00
tibbi
3358dfa201 show recycle bin at the main folders screen only when appropriate 2018-07-18 17:54:23 +02:00
tibbi
addae2045e delay loading the zoomable image at fullscreen mode to avoid laggy swipes 2018-07-18 17:26:37 +02:00
tibbi
b18af5e94e do not show Recycle Bin and Favorites content at "Show all folders" 2018-07-18 15:02:56 +02:00
tibbi
3831800715 adding some null checks at handling video end 2018-07-18 14:44:52 +02:00
tibbi
92718e5666 make sure only media files get deleted from the viewpager activity 2018-07-18 14:34:37 +02:00
tibbi
007d972787 use filesDir absolutePath instead of path in some places 2018-07-18 13:24:37 +02:00
tibbi
ec20d67fff init exoplayer only if play is pressed 2018-07-18 12:11:05 +02:00
tibbi
c71593e90f adding a search related crashfix 2018-07-18 10:50:30 +02:00
tibbi
7689da0d43 make sure we retrieve the absolute path when working with recycle bin 2018-07-17 14:10:55 +02:00
tibbi
26d5fef4fd make sure copyRecursively works at moving paths in recycle bin 2018-07-17 13:56:22 +02:00
tibbi
fa2eb4f7ed adding some default folders to scan 2018-07-17 10:26:29 +02:00
tibbi
bcae7cfd76 do not try setting up exoplayer if it is still null 2018-07-16 20:15:03 +02:00
tibbi
b47868a049 do not initially show the "Purchase Simple Thank You" settings button 2018-07-16 20:10:26 +02:00
tibbi
642e3e4c50 always pass an arraylist clone to adapters, so the actual items arent updated 2018-07-16 15:00:07 +02:00
tibbi
7e913635f5 adding a Purchase Thank You button in the app settings 2018-07-15 21:25:28 +02:00
tibbi
3186d27d12 add "Set as" as an available bottom action at the fullscreen view 2018-07-15 21:17:13 +02:00
tibbi
2862141418 clear the favorites or recycle bin at deleting its folder 2018-07-15 20:06:45 +02:00
tibbi
ece7872f8d fix #844, recognize another image panorama declaration 2018-07-15 16:27:16 +02:00
tibbi
a8b1f1935a fix #841, avoid blank screen at toggling temporarily show hidden 2018-07-15 16:23:56 +02:00
tibbi
5b040a699b do not show an error at exoplayer setup fail, just try reinitializing later 2018-07-15 11:17:21 +02:00
tibbi
274a50013e reinitialize exoplayer on becoming visible, if needed 2018-07-15 10:42:30 +02:00
tibbi
1913df404d always use proper action menu title text color 2018-07-15 10:15:41 +02:00
tibbi
75219668b4 use the un/hide icons from Commons library 2018-07-12 14:31:47 +02:00
tibbi
fd79d8d3ec adding some crashfixes 2018-07-10 20:20:26 +02:00
tibbi
bb8acad55e adding some null checks at deleting files/folders 2018-07-06 13:00:45 +02:00
tibbi
902bdb0255 use smaller play/pause/panorama icons with dynamic background 2018-07-06 12:42:07 +02:00
tibbi
393420ab2d use a background thread for releasing exoplayer 2018-07-06 11:52:00 +02:00
tibbi
376b9870e2 adding a null check at video seekbar usage 2018-07-05 11:13:01 +02:00
tibbi
5420321207 show the bottom gradient at video fragment only if bottom actions are disabled 2018-07-04 19:54:51 +02:00
tibbi
0dba5114a1 adding a null check at selecting directories 2018-07-04 19:26:52 +02:00
tibbi
ce7e18196b adding some features in the release notes 2018-07-04 12:03:42 +02:00
tibbi
a6cc35fc97 replace some toList calls with toMutableList, for proper casting if empty 2018-07-04 11:39:19 +02:00
tibbi
7d44532320 use black statusbar at panorama activity if selected so 2018-07-04 11:38:51 +02:00
tibbi
fc1d17397c if something goes wrong at storing ever shown folders, just clear it 2018-07-04 11:22:39 +02:00
tibbi
9559b84be5 remove folders instantly, without animation 2018-07-04 11:15:33 +02:00
tibbi
ed7e1a6d02 adding Panorama view and Sanselan licenses 2018-07-04 11:10:12 +02:00
tibbi
a202418eca add an extra function for making sure we show all required folders 2018-07-03 23:50:17 +02:00
tibbi
40de93100c try scaling down the panorama image, if it keeps running out of memory 2018-07-03 23:21:35 +02:00
tibbi
c32b332804 fix the panorama path check 2018-07-03 22:46:48 +02:00
tibbi
448cf2d604 close PanoramaActivity if something goes wrong 2018-07-03 22:13:59 +02:00
tibbi
08ec62b3e1 refresh panorama buttons on device rotation 2018-07-03 21:50:16 +02:00
tibbi
cf07b918de handle panorama event clicks + disable fullscreen by default 2018-07-03 21:41:45 +02:00
tibbi
7ab78101c0 handle panorama Cardboard and Explore click listeners 2018-07-03 21:23:21 +02:00
tibbi
9614bd07c2 creating a PanoramaActivity for handling panoramas 2018-07-03 21:15:03 +02:00
tibbi
727c42f7bd show a panorama button over images if appropriate 2018-07-03 15:39:31 +02:00
tibbi
280559c7c3 adding ExoPlayer license 2018-07-02 11:30:04 +02:00
tibbi
9101f9e7f3 allow clicking through bottom action items in fullscreen mode 2018-07-02 11:02:17 +02:00
tibbi
cc5a5988ea adding a toast at deleting media thumbnails until a glitch gets fixed 2018-07-02 10:17:22 +02:00
tibbi
071794a693 add an extra check to avoid deleting folders from viewpageractivity 2018-07-01 23:49:18 +02:00
tibbi
348d5617e0 removing a helper function related to moving path in recycle bin 2018-07-01 23:37:49 +02:00
tibbi
535e1d8ec9 show a toast at deleting folders 2018-07-01 21:03:38 +02:00
tibbi
7235aa8ac8 move DirectoryOperations and MediaOperations listeners in standalone files 2018-07-01 20:56:40 +02:00
tibbi
2f152da15a start the media fetching asynctask only after cached files have been loaded 2018-07-01 20:51:17 +02:00
tibbi
3a1c3b6cf9 make sure in MediaActivity the gotMedia is called on a background thread 2018-07-01 20:38:59 +02:00
tibbi
0316a21e39 make sure gotDirectories is called on a background thread 2018-07-01 20:19:28 +02:00
tibbi
d78eff3cee hide the Favorites folder if all items are hidden and they shouldnt be shown 2018-07-01 20:11:07 +02:00
tibbi
07585ce8ae make Lock Orientation more advanced, toggle between portrait/landscape/auto 2018-07-01 17:50:42 +02:00
tibbi
712e4c02db change lock orientation into forcing different orientation types 2018-07-01 14:14:53 +02:00
tibbi
b0653ae2cc rotate image by 90 immediately after pressing the bottom action icon 2018-07-01 13:05:38 +02:00
tibbi
e68eb7cda1 adding a missing argument 2018-07-01 12:30:32 +02:00
tibbi
91b2cc40e1 add a null check at deleting medium 2018-07-01 11:58:00 +02:00
tibbi
6437970df8 fixing a crash at changing the column count 2018-07-01 11:56:23 +02:00
tibbi
b05919f7ec fix a crash at getting selected media 2018-07-01 11:40:42 +02:00
tibbi
ee1ec98df9 add Rename to available bottom actions 2018-07-01 11:27:50 +02:00
tibbi
91e2638c21 use a new cursor icon for Rename 2018-07-01 11:19:54 +02:00
tibbi
bb0b432d19 properly handle video content uri at exoplayer 2018-06-29 23:36:59 +02:00
tibbi
0ca8cca358 do not hide the video Play button if we are at the beginning 2018-06-29 23:35:55 +02:00
tibbi
adc5b9b856 make sure the proper bottom actions are shown at third party intent handling 2018-06-29 23:25:27 +02:00
tibbi
065f2acee4 handle un/hide icon toggling 2018-06-29 23:15:44 +02:00
tibbi
c76087e54a add a helper function for determining if a medium is hidden 2018-06-29 22:10:29 +02:00
tibbi
5804d81eac add the functionality to the bottom actions Rotate button 2018-06-29 22:02:34 +02:00
tibbi
13f873497e properly handle bottom action button visibility and functionality 2018-06-29 21:07:21 +02:00
tibbi
c618af4e95 create the dialog for customizing shown bottom actions 2018-06-29 16:04:11 +02:00
tibbi
59d277c710 add a settings button for managing bottom action buttons 2018-06-29 15:26:50 +02:00
tibbi
e9e6e3e059 make sure we show the video Play button if fullscreen and not playing 2018-06-29 14:59:52 +02:00
tibbi
5adc4fe1bd hide the Pause button over the video under some circumstances 2018-06-29 13:58:52 +02:00
tibbi
1038ee33d2 fix #274, replace video MediaPlayer with ExoPlayer 2018-06-29 12:00:12 +02:00
tibbi
a0b6e97f62 adding some crashfixes 2018-06-28 19:59:21 +02:00
tibbi
fcb24e572a add recycle bin and Grouping in Release notes 2018-06-28 15:53:43 +02:00
tibbi
6c85b43930 remove Trashbin items after 30 days 2018-06-28 15:53:25 +02:00
tibbi
e5a22cd196 replace date at thumbnail grouping with Today or Yesterday, if appropriate 2018-06-28 10:12:14 +02:00
tibbi
c50960316a update a FAQ item, recycle bin has been added 2018-06-28 10:02:21 +02:00
tibbi
5db37d6c54 allow sorting Show All separately 2018-06-27 23:52:42 +02:00
tibbi
8bb6c50075 set grouping of Show All to Date Taken descending by default 2018-06-27 23:39:24 +02:00
tibbi
61e66a3d5d allow setting a different grouping for Show All Folders Content 2018-06-27 23:37:15 +02:00
tibbi
cf716f901e remove the Recycle Bin folder from the database right away at restoring all items 2018-06-27 21:06:40 +02:00
tibbi
e44299a472 fix java/util/function/BiConsumer compile error on some older devices 2018-06-27 21:01:16 +02:00
tibbi
2dc18e7166 add some additional menu items for restoring recycle bin items 2018-06-27 20:46:14 +02:00
tibbi
4923d5e4af allow restoring files from the recycle bin at the fullscreen view 2018-06-27 20:25:12 +02:00
tibbi
e57a8d60eb adding a confirmation dialog at recycle bin emptying 2018-06-27 19:45:47 +02:00
tibbi
b0cafd05c4 show the Recycle Bin content size at settings 2018-06-27 18:59:00 +02:00
tibbi
317089a4ff adding a Settings button for emptying the recycle bin 2018-06-27 18:50:30 +02:00
tibbi
b0c4ba7d99 show a toast at recycle bin emptying 2018-06-27 18:45:31 +02:00
tibbi
15440cab42 allow emptying the recycle bin with some menu buttons 2018-06-27 18:40:18 +02:00
tibbi
8397ebac66 add some helper menu buttons for emptying and disabling recycle bin 2018-06-27 16:56:22 +02:00
tibbi
0856abfb83 make sure we hide the Recycle Bin folder if empty 2018-06-27 16:34:46 +02:00
tibbi
f54616bf3f do not allow showing the Properties of Favorites and Recycle bin 2018-06-27 16:09:26 +02:00
tibbi
e0f8d311ba fix some data consistency issues when fetching recycle bin items 2018-06-27 15:39:38 +02:00
tibbi
ed8fa63ce8 make sure we clean up invalid recycle bin db entries 2018-06-27 15:20:45 +02:00
tibbi
59cb293d98 add handling for moving whole folders in the recycle bin 2018-06-27 15:20:22 +02:00
tibbi
f852b69f6e allow permanent delete to items already in the recycle bin 2018-06-27 14:45:50 +02:00
tibbi
11fde4daa0 fetch proper deletedTS at items in the recycle bin 2018-06-27 12:30:55 +02:00
tibbi
b7b49f579e do not allow renaming Favorites or Recycle bin 2018-06-27 12:11:15 +02:00
tibbi
c75f564a35 show a Recycle Bin folder on the main screen if not empty 2018-06-27 12:05:36 +02:00
tibbi
721890ce67 properly handle moving multiple items in the recycle bin too 2018-06-27 11:15:58 +02:00
tibbi
87fde0f813 lets just move the deleted file into the recycle bin when appropriate 2018-06-27 10:40:22 +02:00
tibbi
f7e7482fc8 add a new field to media, the timestamp of their move to recycle bin 2018-06-27 09:51:33 +02:00
tibbi
3468a9860b update the delete confirmation Dialog if we are using the recycle bin 2018-06-27 09:28:24 +02:00
tibbi
3bedb2282c update commons to 4.3.4 2018-06-26 23:54:32 +02:00
tibbi
d8a33f81d7 add a settings toggle for toggling recycle bin usage 2018-06-26 22:37:49 +02:00
tibbi
efc4e241ca add recycle bin to pinned folders by default 2018-06-26 16:14:51 +02:00
tibbi
3a7e93f095 do not allow clicking bottom actions if faded away 2018-06-26 14:43:39 +02:00
tibbi
e6980596a2 make db queries involving paths case insensitive 2018-06-25 00:11:35 +02:00
tibbi
66962c3ec9 fix some recycler glitches at the directories view 2018-06-24 20:43:19 +02:00
tibbi
dfccdd4040 do not add group sections at horizontal scrolling for now 2018-06-24 19:44:55 +02:00
tibbi
73e5333eef recreate whole thumbnails view on toggling horizontal scroll 2018-06-24 19:24:22 +02:00
tibbi
2d8ab6647d recreate directories grid at changing sorting and filtering 2018-06-24 18:59:07 +02:00
tibbi
185e4dcb6c recalculate fastscroller position at measuring content 2018-06-24 18:31:31 +02:00
tibbi
8e4aa5b438 do not remeasure recyclerview size at column count change, we set it manually 2018-06-24 18:11:30 +02:00
tibbi
92fc3ec90c recreate the MediaAdapter in some extra cases 2018-06-24 18:07:01 +02:00
tibbi
d69351fa99 avoid doing any action on Search Collapsed during device rotation 2018-06-24 15:46:14 +02:00
tibbi
f6231bf517 properly measure recyclerview content height when content changes 2018-06-23 09:41:26 +02:00
tibbi
dc65539094 adding a FAQ item about thumbnail grouping 2018-06-22 22:38:04 +02:00
tibbi
b61e3b7d3d fix thumbnail grouping at Search 2018-06-22 21:37:09 +02:00
tibbi
cd79467ff6 avoid showing empty fastscroller bubble if the current item is a section 2018-06-22 21:18:39 +02:00
tibbi
8e1cd62c7c really disallow clicking on thumbnail section titles 2018-06-22 21:14:30 +02:00
tibbi
9520a25f62 do not allow clicking or long pressing thumbnail sections 2018-06-22 20:57:19 +02:00
tibbi
12ed9a66c1 group media right after fetching, while still on a background thread 2018-06-22 20:33:35 +02:00
tibbi
51182c5563 remove ThumbnailMedium, make Medium itself implement ThumbnailItem 2018-06-22 19:59:56 +02:00
tibbi
2decc73e39 fetch properly grouped and sorted items by ViewPager 2018-06-22 19:30:34 +02:00
tibbi
698f9b0c76 handle media grouping at the MediaActivity 2018-06-22 14:54:28 +02:00
tibbi
e759270019 rely on thumbnailItems at getting selected items at mediaadapter 2018-06-22 13:46:37 +02:00
tibbi
4617be2238 fix clicked medium type casting 2018-06-22 13:19:12 +02:00
tibbi
8cf0e9d7d4 clear mediumGroups before refilling it 2018-06-22 13:18:57 +02:00
tibbi
87ebadfdc6 avoid selecting section titles at thumbnails view 2018-06-22 12:24:43 +02:00
tibbi
2e178ad645 properly format section titles as appropriate 2018-06-22 11:16:56 +02:00
tibbi
2139b19ca8 make sure item group section titles span across the whole line 2018-06-22 11:16:45 +02:00
tibbi
5ca95e7e35 handle thumbnail section adding 2018-06-22 10:38:24 +02:00
tibbi
232073b227 create a ThumbnailItem parent class for media and sections 2018-06-22 10:25:24 +02:00
tibbi
9bfb83dba2 removing a helper function 2018-06-22 10:03:02 +02:00
tibbi
139e9fc06f renaming a function for getting folder grouping 2018-06-22 10:01:48 +02:00
tibbi
f47190b9e1 refresh media thumbnails if only the grouping changes 2018-06-21 23:48:50 +02:00
tibbi
2a23632333 sort medium groups appropriately 2018-06-21 23:41:34 +02:00
tibbi
e3fde0a6eb obtain the start of the day TS at grouping by date taken and last modified 2018-06-21 23:26:05 +02:00
tibbi
9eedf64c1b handle medium grouping at the MediaAdapter 2018-06-21 23:00:59 +02:00
tibbi
1a04a98040 fix fetching cached files at Show All Folders Content 2018-06-21 21:39:15 +02:00
tibbi
637913415b create a separate dialog for Group By for more flexibility 2018-06-21 21:26:09 +02:00
tibbi
05d37cbfcc add a dialog for selecting folder thumbnail grouping 2018-06-21 14:35:52 +02:00
tibbi
a374f40e92 use an empty path at ShowAll 2018-06-21 14:33:31 +02:00
tibbi
28f7d4eb6c adding some null checks 2018-06-21 09:06:25 +02:00
tibbi
a76c716173 add Favorites to release notes 2018-06-20 23:22:46 +02:00
tibbi
283a8254dc avoid some folder operations on Favorites 2018-06-20 23:09:42 +02:00
tibbi
cc5bf379c4 hide some menu items at the Favorites folder 2018-06-20 22:42:53 +02:00
tibbi
8af3b1eee3 fix some Favorites glitches, try treating it more like other folders 2018-06-20 22:20:43 +02:00
tibbi
b81e1c2172 make sure we sort the Favorites properly 2018-06-20 21:55:41 +02:00
tibbi
d4fe872a3a make sure the Favorites folder is pinned by default 2018-06-20 21:49:54 +02:00
tibbi
cc5fbecabd do not store actual item array lists in adapters, pass clones only 2018-06-20 21:42:31 +02:00
tibbi
43a6ececba make sure Favorites folder is not shown twice 2018-06-20 21:40:10 +02:00
tibbi
40dc05602c allow batch favorite toggling by long pressing items 2018-06-20 21:09:51 +02:00
tibbi
e508030496 remove the path scanning at ViewPager activity 2018-06-20 20:47:08 +02:00
tibbi
5677367fbf adding a couple more Favorite improvements 2018-06-20 16:22:11 +02:00
tibbi
58877df88e couple improvements related to the Favorites folder 2018-06-20 15:44:39 +02:00
tibbi
dce71ac166 optimize favorite item fetching, do not query it too often 2018-06-20 12:10:41 +02:00
tibbi
368ffd4b1d fix storing item Favorite state 2018-06-20 11:56:38 +02:00
tibbi
7336fc263d handle Toggle favorite icon updating 2018-06-19 23:34:36 +02:00
tibbi
8270aaa2f2 replace bottom actions Properties button with Add to favorites 2018-06-19 23:23:18 +02:00
tibbi
703aa7bbd1 adding a new Medium field isFavorite 2018-06-19 23:14:03 +02:00
tibbi
ddb8c98f0d properly retrieve date_taken from media files when appropriate 2018-06-19 21:42:02 +02:00
tibbi
ea16e43aa7 add an mUri null check at PhotoVideoActivity 2018-06-19 21:04:24 +02:00
tibbi
64085b4e04 fix file filtering by type 2018-06-18 14:29:01 +02:00