pachli-android/core/ui
Nik Clayton b9459d558b
feat: Show share sheet when long clicking links/hashtags/mentions (#1047)
This makes it easier to share links from a regular timeline (where text
is not selectable).

Listen for long clicks on spans by launching a delayed runnable that
waits `getLongPressTimeout()` ms before sending an intent that shows the
share sheet for the clicked span.

If the span's link is not the same as the text (e.g., it's a mention or
a hashtag) then the text of the span is also sent as the title to show
in the share sheet.

While I'm here, the official LinkMovementMethodCompat does the same job
as NoTrailingSpaceLinkMovementMethod, so delete the latter code in
favour of the former.

Fixes #695
2024-10-24 22:35:26 +02:00
..
src feat: Show share sheet when long clicking links/hashtags/mentions (#1047) 2024-10-24 22:35:26 +02:00
build.gradle.kts feat: Add option to save attachments to per-account folders (#945) 2024-09-26 13:51:30 +02:00
lint-baseline.xml refactor: Extract user list functionality to `feature:lists` (#537) 2024-03-16 18:42:11 +01:00