Yuito-app-android/app/src/main/java/com/keylesspalace/tusky/util
Levi Bard addce87eb6
Use tags from status when adding handlers to hashtag spans in status content (#2344)
* Migrate LinkHelper to kotlin

* Support tags field on statuses

* Use embedded tags list in status instead of text scraping to embed tag click handler.
Fixes #2283

* Make mentions and tags lists nonnullable

* Make LinkHelper.openLink a Context extension method

* Use builtin extension for uri conversion

* More cleanup in LinkHelper

* Add tests for LinkHelper.getDomain

* Unbreak tags in places that don't have a tag list (e.g. profiles)

* Fixup javadoc
2022-02-25 18:56:21 +01:00
..
BindingHolder.kt add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00
BlurHashDecoder.kt add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00
CardViewMode.kt add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00
ComposeTokenizer.kt add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00
CustomEmojiHelper.kt fix apng emojis not rendered when animation is turned off (#2312) 2022-02-05 08:56:24 +01:00
CustomFragmentStateAdapter.kt add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00
Either.kt add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00
EmojiCompatFont.kt add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00
FocalPointUtil.kt add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00
GlideModule.kt support animated PNGs and WEBPs (#2244) 2021-10-09 10:45:41 +02:00
HttpHeaderLink.java Upgrade to AndroidX, move to MaterialComponents theme (#953) 2018-12-17 15:25:35 +01:00
IOUtils.java Upgrade to AndroidX, move to MaterialComponents theme (#953) 2018-12-17 15:25:35 +01:00
ImageLoadingHelper.kt add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00
LinkHelper.kt Use tags from status when adding handlers to hashtag spans in status content (#2344) 2022-02-25 18:56:21 +01:00
ListStatusAccessibilityDelegate.kt Use tags from status when adding handlers to hashtag spans in status content (#2344) 2022-02-25 18:56:21 +01:00
ListUtils.kt add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00
LiveDataUtil.kt add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00
LocaleManager.kt add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00
MediaUtils.kt add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00
NoUnderlineURLSpan.kt Use tags from status when adding handlers to hashtag spans in status content (#2344) 2022-02-25 18:56:21 +01:00
NotificationTypeConverter.kt add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00
PairedList.java fix IndexOutOfBoundException caused by ListStatusAccessibilityDelegate (#1178) 2019-04-07 16:32:58 +02:00
PickMediaFiles.kt add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00
Resource.kt add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00
RickRoll.kt add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00
RxAwareViewModel.kt add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00
ShareShortcutHelper.kt add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00
SharedPreferencesExtensions.kt New settings (#891) 2018-11-12 21:09:39 +01:00
SmartLengthInputFilter.kt add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00
SpanUtils.kt add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00
StatusDisplayOptions.kt Add confirmation for favourite and bookmark actions (#2245) 2021-10-04 07:48:44 +02:00
StatusViewHelper.kt Highlight your own votes when displaying poll results (#2242) 2021-09-17 22:12:17 +02:00
StringUtils.kt add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00
ThemeUtils.java Wellbeing mode (#1992) 2020-12-23 19:13:37 +01:00
TimestampUtils.java cleanup code in StatusViewHolders (#1418) 2019-07-27 21:53:28 +02:00
VersionUtils.java add test for VersionUtils (#1602) 2019-12-21 18:56:30 +01:00
ViewBindingExtensions.kt add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00
ViewDataUtils.kt Timeline paging (#2238) 2022-01-11 19:00:29 +01:00
ViewExtensions.kt add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00