Commit graph

68 commits

Author SHA1 Message Date
Stypox
bd18d38e5c Remove ugly if-else-cascade in
Common actions and labels are now in a unique enum: StreamDialogEntry
If an action is not common to every long-press menu (e.g. delete) a custom action has to be provided using e.g. delete.setAction(...)
2019-07-25 00:44:12 +02:00
Stypox
a1a0c7af83 Fix showing popup options with audio-only streams 2019-07-22 11:58:01 +02:00
Stypox
e380db0610 Complete merge after #2288: add resumePlayback to player calls.
`resumePlayback`'s value is `false` when the video is enqueued, `true` otherwise.
Also make the use of getContext() and getActivity() more consistant.
2019-07-22 10:28:53 +02:00
Stypox
4827f719fc Merge branch 'dev' into menu-consistency 2019-07-21 11:11:06 +02:00
Vasily
ea8bdd8835 Merge branch 'dev' into playback_state_list 2019-06-23 20:23:29 +03:00
kapodamy
7ca7952790 Implement Storage Access Framework
* re-work finished mission database
* re-work DownloadMission and bump it Serializable version
* keep the classic Java IO API
* SAF Tree API support on Android Lollipop or higher
* add wrapper for SAF stream opening
* implement Closeable in SharpStream to replace the dispose() method

* do required changes for this API:
** remove any file creation logic from DownloadInitializer
** make PostProcessing Serializable and reduce the number of iterations
** update all strings.xml files
** storage helpers: StoredDirectoryHelper & StoredFileHelper
** best effort to handle any kind of SAF errors/exceptions
2019-06-03 18:16:41 -03:00
Stypox
e7d5f7a6db Make subscription long-press menu consistant in local sub list
Inverted unsubscribe with share, since share has always been put after content-specific actions.
2019-05-29 20:39:17 +02:00
Stypox
90e7b39d8f Make long-press menu consistent across views: fix #2354
Also made the code that creates the menus consistent across files.
2019-05-29 16:22:01 +02:00
Vasiliy
23dcbea8ec Animate states changed 2019-04-27 22:27:08 +03:00
Vasiliy
a82023415c Refactor adapter 2019-04-27 21:23:52 +03:00
Vasiliy
08c558ea20 Option to disable states indicators 2019-04-27 19:04:13 +03:00
Vasiliy
0b8277fe44 Update states in lists 2019-04-27 18:12:00 +03:00
Vasiliy
ced96e2c5e Show streams states for local lists 2019-04-15 22:18:24 +03:00
Vasiliy
57dcaa9de0 Base implementation of showing playback positions in lists 2019-04-15 21:37:36 +03:00
Vasiliy
2e36b05a50 Implement playback state management 2019-04-13 13:34:36 +03:00
Stypox
0400f6b6f1 Remove share utilities from BaseStateFragment
Replaced by ShareUtils
2019-04-06 20:17:04 +02:00
Christian Schabesberger
29cffcd716 Merge branch 'master' into dev 2019-03-01 09:53:43 +01:00
Christian Schabesberger
c8b909b56b fix brake when selecting a mediaccc channel form subscription page 2019-02-25 12:24:48 +01:00
Vasily
e146b92af7 Clear history option menu item 2018-12-29 20:55:10 +02:00
Christian Schabesberger
6f72ed7d65 Merge branch 'dev' into tablet_ui 2018-10-08 11:56:25 +02:00
Christian Schabesberger
eb68ce6a35 Merge branch 'dev' into LongTapInSubs 2018-10-07 13:59:39 +02:00
BO41
ce36b5b823 Java language level + javadoc + xml
replace with <>
String builder

BUILD SUCCESSFUL in 4s
39 actionable tasks: 4 executed, 35 up-to-date
2018-09-11 19:20:10 +02:00
BO41
b2f619a934 error handling + imports + unboxing 2018-09-11 19:18:50 +02:00
BO41
55ef791c88 data flow issue + declaration redundancy
make final
unused methods
make final

BUILD SUCCESSFUL in 0s
39 actionable tasks: 39 up-to-date
2018-09-11 19:18:41 +02:00
BO41
d0e7ca8a9a class structure
BUILD SUCCESSFUL in 17s
39 actionable tasks: 6 executed, 33 up-to-date
2018-09-11 19:18:14 +02:00
BO41
89eeaab6f0 code cleanup
mainly removes throw statements

automated using Android Studio, staged by hand

BUILD SUCCESSFUL in 52s
39 actionable tasks: 37 executed, 2 up-to-date
2018-09-11 19:14:21 +02:00
Vasily
3c7039df87 Fix: remove title from PlaylistDialog 2018-08-31 17:12:56 +03:00
u1
b1d413d59a Grid layout for subscriptions 2018-08-31 16:49:25 +03:00
u1
4c4e8f2e88 Fix reordering playlist items on grid layout 2018-08-31 16:34:35 +03:00
Vasily
fd68f37481 Grid layout for local lists 2018-08-31 14:34:32 +03:00
Christian Schabesberger
affee5630b Merge branch 'dev' into LongTapInSubs 2018-08-28 18:39:11 +02:00
Christian Schabesberger
40e97c737d git replace getFragmentManager() with getFM() 2018-08-24 12:30:23 +02:00
Christian Schabesberger
e7e634c201 despaget certain parts of the new design 2018-08-24 12:27:02 +02:00
Somethingweirdhere
496d968771 Code reviewed 2018-08-24 12:26:15 +02:00
Somethingweirdhere
1195d9a008 Code cleanup 2018-08-24 12:23:26 +02:00
Somethingweirdhere
a01106c4ad Videos now also open from the History Tab. 2018-08-24 12:14:53 +02:00
Somethingweirdhere
98b243fbcb Fixed icons and tab titles 2018-08-24 12:14:53 +02:00
Somethingweirdhere
1e797f2a09 Fixed bugs&crashes 2018-08-24 12:14:53 +02:00
Somethingweirdhere
d1cf3ddddf Set up custom Main Page tabs 2018-08-24 12:14:53 +02:00
Somethingweirdhere
41c8c3ab74 Fixed crash in Subscriptions section 2018-08-24 12:12:08 +02:00
Somethingweirdhere
a9003c4973 Added drawer menu 2018-08-24 12:04:35 +02:00
Somethingweirdhere
bc13e90a7b Code cleanup 2018-08-22 13:59:12 +02:00
Somethingweirdhere
c32b9691e1 Doesn't use getChannelInfo() anymore. 2018-08-16 01:04:37 +02:00
Somethingweirdhere
43593f7311 Removed use of blockingFirst() and scheduleDirect() 2018-08-16 00:45:37 +02:00
Somethingweirdhere
c37b2bb277 Merge branch 'dev' into LongTapInSubs 2018-08-15 23:33:59 +02:00
Christian Schabesberger
21a5b9fbe8 make the new extractor refactorings work with SoundCloud 2018-07-10 16:26:42 +02:00
Christian Schabesberger
67ff4e9434 bring everything to compile and run 2018-07-08 17:46:21 +02:00
Somethingweirdhere
e9b69f109e Added unsubscription toast
Added error handling
Corrected threads
2018-06-30 02:42:47 +02:00
Somethingweirdhere
6bd694dba3 Disposable now is cleaned properly 2018-06-30 02:20:01 +02:00
Somethingweirdhere
0b58b6d52d Code looking nicer 2018-06-29 00:39:44 +02:00