straw/app/src/main/java/org/schabi/newpipe/util
AudricV 6de5a8cf04 Add ability to copy hashtags, URLs and timestamps in descriptions on long-press
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.
2023-01-15 11:40:27 +01:00
..
external_communication Add ability to copy hashtags, URLs and timestamps in descriptions on long-press 2023-01-15 11:40:27 +01:00
urlfinder Added note that explains that unused code was removed. 2022-07-15 19:55:19 +02:00
CommentTextOnTouchListener.java Add ability to copy hashtags, URLs and timestamps in descriptions on long-press 2023-01-15 11:40:27 +01:00
Constants.kt Combine the two Constants files into one file. 2021-01-15 12:13:47 +05:30
DeviceUtils.java Samsung DeX should only be checked on Samsung devices 2023-01-03 15:12:02 +01:00
ExtractorHelper.java Deduplicate code for fetching stream info when sparse 2022-03-03 16:54:40 +01:00
FallbackViewHolder.java Improve code style to be more consistent 2020-04-02 15:57:50 +02:00
FilenameUtils.java Apply the requested changes and little improvements 2021-01-16 13:23:42 +01:00
FilePickerActivityHelper.java Migrate NoNonsense-FilePicker to our updated fork 2022-07-24 15:07:31 +02:00
InfoCache.java Use final where possible 2020-08-16 10:25:09 +02:00
KeyboardUtil.java Fix keyboard showing after the search box acquiring focus (#8227) 2022-04-18 16:05:42 +02:00
KioskTranslator.java Annotate some NonNulls, some lint cleaning 2022-03-18 13:15:44 -04:00
ListHelper.java Improve comment 2022-08-06 11:56:00 +02:00
Localization.java Group private Localization methods together. 2022-11-09 08:54:47 +05:30
NavigationHelper.java Ask for permission when enqueuing in a popup 2023-01-10 14:16:19 +01:00
NewPipeTextViewHelper.java Adress new requested changes 2021-10-16 15:32:56 +02:00
OnClickGesture.java Make OnClickGesture an interface. 2022-08-01 06:47:00 +05:30
PeertubeHelper.java Use List.of(). 2022-07-20 04:39:11 +05:30
PendingIntentCompat.java Add helper methods for adding PendingIntent mutability. 2022-11-07 17:12:22 +05:30
PermissionHelper.java Request permission to send notifications 2022-11-28 18:49:11 +01:00
PicassoHelper.java Use BitmapCompat.createScaledBitmap(). 2022-11-29 15:56:19 +01:00
RelatedItemInfo.java Rename related streams to related items 2021-03-31 22:33:22 +02:00
ReleaseVersionUtil.kt Use range-limiting methods in more places. 2022-08-08 07:10:16 +05:30
SavedState.kt Changed package as the old one is deprecated 2021-08-26 18:09:27 +02:00
SecondaryStreamHelper.java Code improvements here and there 2022-06-17 22:00:53 +02:00
SerializedCache.java Solve Java warning "Raw use of parameterized class" 2022-02-19 17:30:38 +01:00
ServiceHelper.java Removed the "(beta)"-tag from services (#8637) 2022-07-24 15:57:23 +03:00
SimpleOnSeekBarChangeListener.kt Create stub implementation for OnSeekBarChangeListener 2022-03-17 21:49:04 -04:00
SliderStrategy.java Improve code style to be more consistent 2020-04-02 15:57:50 +02:00
SparseItemUtil.java Add download option to long-press menu 2022-07-06 11:42:57 +02:00
StateSaver.java Changed the code accordingly 2022-07-15 19:55:19 +02:00
StreamItemAdapter.java Use SparseArrayCompat instead of SparseArray in StreamItemAdapter. 2022-11-22 18:31:58 +05:30
StreamTypeUtil.java Use StreamTypeUtil where possible and add isAudio and isVideo to this utility class 2022-06-17 22:01:26 +02:00
ThemeHelper.java Deduplicate isGridLayout calls 2022-10-27 17:25:06 +02:00
TouchUtils.java Add ability to copy hashtags, URLs and timestamps in descriptions on long-press 2023-01-15 11:40:27 +01:00
ZipHelper.java Move Stored(File|Directory)Helper into NewPipe 2021-06-08 10:40:44 +02:00