Xiang Rong Lin
71b0311bb1
Use AlertDialog.Builder instead of BookmarkDialog class for the same look.
...
Use "rename" string instead of "save" string.
2020-02-02 12:54:43 +01:00
Xiang Rong Lin
1c873141fe
Move more log statements into "if (DEBUG)"
2020-02-01 16:36:45 +01:00
XiangRongLin
e013e64482
Merge branch 'dev' into 1907renamePlaylist
2020-02-01 16:29:21 +01:00
Xiang Rong Lin
3abe2423c0
Move log statement into "if (DEBUG)"
2020-02-01 16:27:53 +01:00
bopol
a74f0873a3
fix wrong language shown many popup dialogs
...
Changed android.R.string.ok, which is "OK", into R.string.finish, which is also OK, but from our strings
Then for a small amount of languages that don't have Android translation, it will show the good string.
2020-02-01 09:44:49 +01:00
Xiang Rong Lin
798753145e
Use custom dialog to edit and delete local playlists at once
2020-01-21 20:56:06 +01:00
Xiang Rong Lin
53d483403f
Rename local playlist by long-clicking in BookmarkFragment.
...
After long clicking on a local playlist, show a dialog with 2 options for "rename" and "delete"
Rename shows another dialog to let the user rename the playlist.
Delete lets the user delete a playlist like before.
2020-01-19 14:39:40 +01:00
TobiGr
2caa9f430c
Fix code style and improve imports
2020-01-07 22:48:35 +01:00
decarvalhobo
7c2d43ea44
Usage of drawable instead of remote image + refactor the append to an empty playlist by just updating the thumbnail before adding the item in it.
2020-01-07 22:33:45 +01:00
De Carvalho Marcio Antonio
47bdbba81c
remove comments
2020-01-07 22:33:45 +01:00
De Carvalho Marcio Antonio
8e64aaab92
remove comments
2020-01-07 22:33:45 +01:00
decarvalhobo
074fa0c45d
fix issue: thumbnail update when element deleted + thumbnail update when element added and no thumbnail
2020-01-07 22:33:45 +01:00
dotvirus
6bf6ce3ab8
Update LocalPlaylistFragment.java
2019-12-31 01:42:41 +01:00
Peter Hindes
f57a590882
fix last recomendation. syntax and imports
2019-12-10 12:18:49 -07:00
Peter Hindes
c07b3979da
Update app/src/main/java/org/schabi/newpipe/local/holder/RemotePlaylistItemHolder.java
...
Co-Authored-By: Redirion <redirion@web.de>
2019-12-10 12:13:04 -07:00
Peter Hindes
8cfbb63f6c
Removed redundant. Related to last merge
2019-12-06 08:36:57 -07:00
Peter Hindes
baf5cb2dfd
Update app/src/main/java/org/schabi/newpipe/local/holder/RemotePlaylistItemHolder.java
...
Co-Authored-By: Redirion <redirion@web.de>
2019-12-06 08:35:14 -07:00
Peter Hindes
72aab82d95
Fixed library showing null
2019-10-16 19:56:31 -06:00
Robin
edd5ad2d13
Migrate to AndroidX
2019-10-04 14:59:08 +02:00
Christian Schabesberger
0c4705446a
Merge branch 'dev' into playlist-play-from-here
2019-08-14 14:53:06 +02:00
Stypox
e1fefacf64
Customize "start here" actions in playlist item views
...
Now those actions start playing the whole playlist from the chosen stream, instead of playing only the chosen stream.
2019-08-14 14:17:05 +02:00
Stypox
afbb5e03cd
Fix annotation warnings in modified files
2019-08-14 13:11:44 +02:00
Stypox
1e066a4d23
Clean up code for addItems() on ItemListAdapters.
2019-08-14 13:11:16 +02:00
Stypox
2a8d522ca9
Fix annotation warnings
2019-08-14 12:55:17 +02:00
Stypox
5c19b76d81
Fix potential disposable leak in PlaylistAppendDialog
2019-08-14 12:54:17 +02:00
Stypox
89c91c3465
Fix some inspection warnings in modified files
2019-08-14 11:49:37 +02:00
Stypox
5bc790aef4
Fix slowdowns in stream list views
...
Now the playback state of a stream is loaded only when needed (i.e. when the stream is visible), just as it is done with thumbnails.
Removed `StateObjectsListAdapter.java`, which used to load the state of every stream at list instantiation, generating slowdowns and freezes.
2019-08-14 11:42:39 +02:00
TobiGr
1ab22b66c9
Fix playback position not being deleted on clearing watch history
2019-08-07 14:34:49 +02:00
Stypox
9c65773196
Optimize imports in edited files
2019-07-25 11:47:38 +02:00
Stypox
bc0ce4c21f
Ensure default actions cannot be overwritten permanently in StreamDialogEntry
2019-07-25 00:53:13 +02:00
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