Commit Graph

207 Commits

Author SHA1 Message Date
Andrew Dolgov
109e86b388 move glide-related stuff to a separate package 2017-06-05 11:48:26 +03:00
Andrew Dolgov
af67ce49d7 headlines: animate images, add vertical scrollbar 2017-06-04 19:56:32 +03:00
Andrew Dolgov
46d283980f no need to check if loading footer present on refresh because we remove all of them anyway 2017-06-04 18:59:33 +03:00
Andrew Dolgov
6feba2f5eb do not pause inline player onscroll 2017-06-04 13:01:26 +03:00
Andrew Dolgov
06d5d0242c enable back reposition code for flavor image/header 2017-06-04 11:06:00 +03:00
Andrew Dolgov
80ef85d1eb enable animations for glide 2017-06-04 11:05:48 +03:00
Andrew Dolgov
a3f47ebeab headlines: add (disabled) code to fix height of all images to 0.5 * screenHeight 2017-06-04 11:03:29 +03:00
Andrew Dolgov
b7b78767a2 flavor images: enable caches 2017-06-04 10:36:53 +03:00
Andrew Dolgov
3b4da398c2 remove handling for holder.topChangedMessage because it's a footer, duh 2017-06-04 10:35:44 +03:00
Andrew Dolgov
89c57fca2d functional progressbars for glide-loaded images in headlines buffer 2017-06-04 10:34:51 +03:00
Andrew Dolgov
a0d0507631 createListFooter: check both activity and added 2017-06-04 08:00:00 +03:00
Andrew Dolgov
357b5c9a27 headlines list: reimplement context menus 2017-06-04 07:58:56 +03:00
Andrew Dolgov
ba12f1bba2 headlines fragment: assorted fixes, mostly related to footer placement
video related fix if surface was destroyed while player was initializing
2017-06-04 06:56:04 +03:00
Andrew Dolgov
76140cff3a do not reuse headline footer views 2017-06-03 10:21:41 +03:00
Andrew Dolgov
2c676e263f refactor some more items, reimplement context menus for gallery 2017-06-02 15:19:30 +03:00
Andrew Dolgov
6f1afb1ef0 rename article pager and related stuff to gallery 2017-06-02 14:51:11 +03:00
Andrew Dolgov
0f764c3f61 use textureview for inline video player 2017-06-02 14:46:01 +03:00
Andrew Dolgov
047bb1cc37 unified gallery pager for videos and image files 2017-06-02 14:25:05 +03:00
Andrew Dolgov
b5398ea340 swipe to dismiss: animate item undo 2017-06-02 00:02:58 +03:00
Andrew Dolgov
7d59182a9b actually disable swipe to dismiss when mark as read on scroll is set 2017-06-01 23:55:49 +03:00
Andrew Dolgov
dcfce70c5b headlines fragment: some minor stuff 2017-06-01 22:54:58 +03:00
Andrew Dolgov
1d960a3a83 add animations to headlines list
fix typo in previous
2017-06-01 22:23:54 +03:00
Andrew Dolgov
46707f28a6 rename headline viewholder to article viewholder for consistency 2017-06-01 22:17:29 +03:00
Andrew Dolgov
415c76b392 move headlines list to top if not appending on refresh 2017-06-01 20:59:37 +03:00
Andrew Dolgov
f6162a8d72 swipe dismiss: set article back to unread if it was before 2017-06-01 19:42:54 +03:00
Andrew Dolgov
b043d6acb7 snackbar-based undo for swipe to dismiss 2017-06-01 19:29:04 +03:00
Andrew Dolgov
5d3f580de4 restart on some more headlines-related prefs
prevent swipe on footers
2017-06-01 19:21:54 +03:00
Andrew Dolgov
e8fe00eecd (very basic) swipe to dismiss for recycler view 2017-06-01 19:01:55 +03:00
Andrew Dolgov
3b47942489 increase flavor image minimum width/height 2017-06-01 18:27:22 +03:00
Andrew Dolgov
6b769ff610 mark read on scroll: don't forget the last item 2017-06-01 18:07:32 +03:00
Andrew Dolgov
583578fe8a WIP: headlines list switched to recycler view
known issues: context menu not working
2017-06-01 17:03:11 +03:00
Andrew Dolgov
1ca3a7d681 removed listview animations library (which also provided swipe to dismiss) 2017-06-01 15:00:10 +03:00
Andrew Dolgov
ab8d6d86ff limit maximum height of flavor images and videos based on screen height 2017-06-01 14:18:50 +03:00
Andrew Dolgov
b7b4d29395 when using flavor image overflow menu prefer stream URI is available for sharing etc 2017-06-01 12:31:14 +03:00
Andrew Dolgov
ab20010954 headline flavor images: set dontTransform() so we could filter smaller ones out 2017-06-01 11:59:12 +03:00
Andrew Dolgov
ebe9738163 add some additional tag checking for headline images so they wouldn't reload all the time 2017-06-01 09:38:44 +03:00
Andrew Dolgov
15cda36008 rework pinch-zoom image view to use ImageMatrixTouchHandler
kill video surface in fragment onpause
2017-05-31 23:44:52 +03:00
Andrew Dolgov
bb32ac7dc4 when long-tap opening a video player, kill everything surface-related in headlines 2017-05-31 23:03:38 +03:00
Andrew Dolgov
9420b9570e experimental: inline video player 2017-05-31 22:51:23 +03:00
Andrew Dolgov
edc1b66f70 replace UIL with Glide 2017-05-31 21:20:23 +03:00
Andrew Dolgov
56a0993a90 Merge branch 'master' of git.fakecake.org:tt-rss-android 2017-05-31 18:32:26 +03:00
Andrew Dolgov
02810f6eee experimental: set article pager and headlines fragment to retain instance
debug: open all articles on startup
2017-05-31 18:23:17 +03:00
Andrew Dolgov
9e7021a717 disable swipe to dismiss if auto mark as read is enabled 2017-05-31 16:52:25 +03:00
Andrew Dolgov
d930310b06 headlines fragment: remove some unused stuff 2017-05-31 16:40:39 +03:00
Andrew Dolgov
d0b4e80a64 add ApiLoader, move cats fragment to use it instead 2017-05-31 15:28:14 +03:00
Andrew Dolgov
49152f188c fix swipe to dismiss crashing on swiping footers and other random crap which is not article 2017-02-18 14:00:00 +03:00
Andrew Dolgov
b761914e0f use timer-based undo for headlines 2017-02-17 20:16:39 +03:00
Andrew Dolgov
b80e383511 implement swipe to dismiss 2017-02-17 18:26:09 +03:00
Andrew Dolgov
efd940c88d Revert "headlines: add experimental swipe to dismiss"
This reverts commit 9a5101fba0.
2017-02-17 17:20:04 +03:00
Andrew Dolgov
9a5101fba0 headlines: add experimental swipe to dismiss 2017-02-17 16:05:01 +03:00