Apps targeting {@link android.os.Build.VERSION_CODES#R} on devices running OS versions {@link android.os.Build.VERSION_CODES#R Android R} or later, will receive a {@code null} value when preferences are cleared.
* Translated using Weblate (Hebrew)
Currently translated at 100.0% (650 of 650 strings)
Translated using Weblate (Turkish)
Currently translated at 100.0% (650 of 650 strings)
Translated using Weblate (Arabic)
Currently translated at 100.0% (650 of 650 strings)
Translated using Weblate (Spanish)
Currently translated at 100.0% (650 of 650 strings)
Translated using Weblate (German)
Currently translated at 100.0% (650 of 650 strings)
Added translation using Weblate (Assamese)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (650 of 650 strings)
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (650 of 650 strings)
Translated using Weblate (Polish)
Currently translated at 100.0% (650 of 650 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (650 of 650 strings)
Translated using Weblate (Indonesian)
Currently translated at 100.0% (650 of 650 strings)
Translated using Weblate (Arabic)
Currently translated at 100.0% (650 of 650 strings)
Translated using Weblate (Czech)
Currently translated at 100.0% (650 of 650 strings)
Translated using Weblate (Greek)
Currently translated at 100.0% (650 of 650 strings)
Translated using Weblate (Korean)
Currently translated at 100.0% (650 of 650 strings)
Translated using Weblate (Odia)
Currently translated at 100.0% (649 of 649 strings)
Translated using Weblate (German)
Currently translated at 72.2% (52 of 72 strings)
Translated using Weblate (Danish)
Currently translated at 100.0% (649 of 649 strings)
Translated using Weblate (Catalan)
Currently translated at 95.5% (620 of 649 strings)
Translated using Weblate (Persian)
Currently translated at 100.0% (649 of 649 strings)
Translated using Weblate (Italian)
Currently translated at 100.0% (649 of 649 strings)
Translated using Weblate (Norwegian Nynorsk)
Currently translated at 10.6% (69 of 649 strings)
Translated using Weblate (Polish)
Currently translated at 100.0% (649 of 649 strings)
Translated using Weblate (Polish)
Currently translated at 100.0% (649 of 649 strings)
Translated using Weblate (Arabic)
Currently translated at 51.3% (37 of 72 strings)
Translated using Weblate (Bengali)
Currently translated at 89.9% (584 of 649 strings)
Translated using Weblate (Sardinian)
Currently translated at 100.0% (649 of 649 strings)
Translated using Weblate (Thai)
Currently translated at 32.2% (209 of 649 strings)
Translated using Weblate (Swedish)
Currently translated at 100.0% (649 of 649 strings)
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (649 of 649 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (649 of 649 strings)
Translated using Weblate (Arabic)
Currently translated at 100.0% (649 of 649 strings)
Translated using Weblate (Romanian)
Currently translated at 100.0% (649 of 649 strings)
Translated using Weblate (Italian)
Currently translated at 100.0% (649 of 649 strings)
Translated using Weblate (Japanese)
Currently translated at 99.6% (647 of 649 strings)
Translated using Weblate (Odia)
Currently translated at 100.0% (649 of 649 strings)
Translated using Weblate (German)
Currently translated at 66.6% (48 of 72 strings)
Translated using Weblate (Portuguese (Portugal))
Currently translated at 100.0% (649 of 649 strings)
Translated using Weblate (Galician)
Currently translated at 100.0% (649 of 649 strings)
Translated using Weblate (Estonian)
Currently translated at 100.0% (649 of 649 strings)
Translated using Weblate (Punjabi)
Currently translated at 100.0% (649 of 649 strings)
Translated using Weblate (Azerbaijani)
Currently translated at 100.0% (649 of 649 strings)
Translated using Weblate (Hindi)
Currently translated at 100.0% (649 of 649 strings)
Translated using Weblate (Hebrew)
Currently translated at 100.0% (649 of 649 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (649 of 649 strings)
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (649 of 649 strings)
Translated using Weblate (Polish)
Currently translated at 100.0% (649 of 649 strings)
Translated using Weblate (Turkish)
Currently translated at 100.0% (649 of 649 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (649 of 649 strings)
Translated using Weblate (Indonesian)
Currently translated at 100.0% (649 of 649 strings)
Translated using Weblate (Czech)
Currently translated at 100.0% (649 of 649 strings)
Translated using Weblate (Greek)
Currently translated at 100.0% (649 of 649 strings)
Translated using Weblate (Portuguese)
Currently translated at 100.0% (649 of 649 strings)
Translated using Weblate (French)
Currently translated at 100.0% (649 of 649 strings)
Translated using Weblate (Spanish)
Currently translated at 100.0% (649 of 649 strings)
Translated using Weblate (German)
Currently translated at 100.0% (649 of 649 strings)
Translated using Weblate (Hindi)
Currently translated at 19.4% (14 of 72 strings)
Translated using Weblate (Punjabi)
Currently translated at 100.0% (72 of 72 strings)
Translated using Weblate (Korean)
Currently translated at 100.0% (648 of 648 strings)
Co-authored-by: Abhilash <dev.abhilash.s@gmail.com>
Co-authored-by: Agnieszka C <aga_04@o2.pl>
Co-authored-by: Ahmad0a <Ahmad3p@protonmail.com>
Co-authored-by: Ajeje Brazorf <lmelonimamo@yahoo.it>
Co-authored-by: Alex25820 <alexs25820@gmail.com>
Co-authored-by: Danial Behzadi <dani.behzi@ubuntu.com>
Co-authored-by: ERYpTION <eryption.x6tf8@simplelogin.com>
Co-authored-by: Edward <edwardchirita@mailbox.org>
Co-authored-by: Eric <hamburger2048@users.noreply.hosted.weblate.org>
Co-authored-by: Fjuro <ifjuro@proton.me>
Co-authored-by: GET100PERCENT <eraofphysics@yahoo.com>
Co-authored-by: GnuPGを使うべきだ <dieeeazpnnqbpddh@cock.email>
Co-authored-by: Hoseok Seo <ddinghoya@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Co-authored-by: JY3 <GeeyunJY3@gmail.com>
Co-authored-by: Jeff Huang <s8321414@gmail.com>
Co-authored-by: Linerly <linerly@protonmail.com>
Co-authored-by: Nidi <nizamismidov4@gmail.com>
Co-authored-by: Nikodem Zawirski <nikon96@gmail.com>
Co-authored-by: Oymate <dhruboadittya96@gmail.com>
Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Co-authored-by: Priit Jõerüüt <hwlate@joeruut.com>
Co-authored-by: RSoulwin <aapshergill1@gmail.com>
Co-authored-by: Retrial <giwrgosmant@gmail.com>
Co-authored-by: Rex_sa <rex.sa@pm.me>
Co-authored-by: Ricardo <contatorms7@tutamail.com>
Co-authored-by: SalusVF <salus.vf@gmail.com>
Co-authored-by: ShareASmile <aapshergill@gmail.com>
Co-authored-by: Translator <kvb@tuta.io>
Co-authored-by: Vasilis K <skyhirules@gmail.com>
Co-authored-by: VfBFan <drop0815@posteo.de>
Co-authored-by: Yaron Shahrabani <sh.yaron@gmail.com>
Co-authored-by: bowornsin <bowornsin@gmail.com>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: nautilusx <translate@disroot.org>
Co-authored-by: pjammo <adrianoghr@hotmail.it>
Co-authored-by: random r <epsilin@yopmail.com>
Co-authored-by: ssantos <ssantos@web.de>
Co-authored-by: tryvseu <tryvseu@tuta.io>
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/ar/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/de/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/hi/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/pa/
Translation: NewPipe/Metadata
* Translated using Weblate (Slovenian)
Currently translated at 63.6% (414 of 650 strings)
* Translated using Weblate (Azerbaijani)
Currently translated at 100.0% (650 of 650 strings)
* Translated using Weblate (Assamese)
Currently translated at 3.6% (24 of 650 strings)
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Abhilash <dev.abhilash.s@gmail.com>
Co-authored-by: Agnieszka C <aga_04@o2.pl>
Co-authored-by: Ahmad0a <Ahmad3p@protonmail.com>
Co-authored-by: Ajeje Brazorf <lmelonimamo@yahoo.it>
Co-authored-by: Alex25820 <alexs25820@gmail.com>
Co-authored-by: Danial Behzadi <dani.behzi@ubuntu.com>
Co-authored-by: ERYpTION <eryption.x6tf8@simplelogin.com>
Co-authored-by: Edward <edwardchirita@mailbox.org>
Co-authored-by: Eric <hamburger2048@users.noreply.hosted.weblate.org>
Co-authored-by: Fjuro <ifjuro@proton.me>
Co-authored-by: GET100PERCENT <eraofphysics@yahoo.com>
Co-authored-by: GnuPGを使うべきだ <dieeeazpnnqbpddh@cock.email>
Co-authored-by: Hoseok Seo <ddinghoya@gmail.com>
Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Co-authored-by: JY3 <GeeyunJY3@gmail.com>
Co-authored-by: Jeff Huang <s8321414@gmail.com>
Co-authored-by: Linerly <linerly@protonmail.com>
Co-authored-by: Nidi <nizamismidov4@gmail.com>
Co-authored-by: Nikodem Zawirski <nikon96@gmail.com>
Co-authored-by: Oymate <dhruboadittya96@gmail.com>
Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Co-authored-by: Priit Jõerüüt <hwlate@joeruut.com>
Co-authored-by: RSoulwin <aapshergill1@gmail.com>
Co-authored-by: Retrial <giwrgosmant@gmail.com>
Co-authored-by: Rex_sa <rex.sa@pm.me>
Co-authored-by: Ricardo <contatorms7@tutamail.com>
Co-authored-by: SalusVF <salus.vf@gmail.com>
Co-authored-by: ShareASmile <aapshergill@gmail.com>
Co-authored-by: Translator <kvb@tuta.io>
Co-authored-by: Vasilis K <skyhirules@gmail.com>
Co-authored-by: VfBFan <drop0815@posteo.de>
Co-authored-by: Yaron Shahrabani <sh.yaron@gmail.com>
Co-authored-by: bowornsin <bowornsin@gmail.com>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: nautilusx <translate@disroot.org>
Co-authored-by: pjammo <adrianoghr@hotmail.it>
Co-authored-by: random r <epsilin@yopmail.com>
Co-authored-by: ssantos <ssantos@web.de>
Co-authored-by: tryvseu <tryvseu@tuta.io>
Co-authored-by: HudobniVolk <hudobni.volk@tuta.io>
This commit adds the ability to copy to clipboard hashtags, URLs and timestamps
when long-pressing them.
Some changes in our TextView class related to text setting have been required
and metadata items are now using a NewPipeTextView instead of a standard
TextView.
Six new classes have been added:
- a custom LinkMovementMethod class;
- a custom ClickableSpan class, LongPressClickableSpan, in order to set a long
press event;
- a class to avoid code duplication in CommentTextOnTouchListener, TouchUtils;
- three implementations of LongPressClickableSpan used when linkifying text:
- HashtagLongPressClickableSpan for hashtags;
- TimestampLongPressClickableSpan for timestamps;
- UrlLongPressClickableSpan for URLs.
We provide visual feedback via a toast to the user that, well, they're supposed to wait; but with the benefit of the cache openAddToPlaylistDialog() may return (almost) immediately, which would render the toast otiose (if not a bit confusing). This commit improves that by cancelling the toast once the wait's over
... (by 'abusing' RxJava's ambWith();
ref on compose() and Transformer: https://blog.danlew.net/2015/03/02/dont-break-the-chain/
and for me, first time laying my hands at RxJava so kindly bear with me; open for suggestions)
pending result for openAddToPlaylistDialog() and openDownloadDialog()
Despite marked deprecated, setRetainInstance(true) is probably our best bet (since a ViewModel is probably too overkill for our present purpose)
so we won't hold up UI while fetching media info for Add to Playlist or Download actions
lest user might think it freezes when in fact a network request is underway