NewPipe/app
AudricV cdd5e89b86
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
..
schemas/org.schabi.newpipe.database.AppDatabase Added "6.json" 2022-12-10 17:32:02 +01:00
src Add ability to copy hashtags, URLs and timestamps in descriptions on long-press 2023-01-15 11:40:27 +01:00
build.gradle Merge pull request #9553 from Redirion/exo182 2023-01-02 18:21:53 +01:00
proguard-rules.pro Clean up proguard file 2022-06-09 11:34:57 -04:00