armcha / autolinktextviewv2 Goto Github PK
View Code? Open in Web Editor NEWAutoLinkTextView is a TextView that supports automatic detection of Hashtags (#), Mentions (@) , URLs (http://), Phone Nubers and emails
AutoLinkTextView is a TextView that supports automatic detection of Hashtags (#), Mentions (@) , URLs (http://), Phone Nubers and emails
Seems like the package disappeared from the repos. Any ideas?
> Could not resolve all files for configuration ':app:devDebugRuntimeClasspath'.
> Could not find com.github.armcha:AutoLinkTextViewV2:3.0.0.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/github/armcha/AutoLinkTextViewV2/3.0.0/AutoLinkTextViewV2-3.0.0.pom
- https://jcenter.bintray.com/com/github/armcha/AutoLinkTextViewV2/3.0.0/AutoLinkTextViewV2-3.0.0.pom
- https://repo.maven.apache.org/maven2/com/github/armcha/AutoLinkTextViewV2/3.0.0/AutoLinkTextViewV2-3.0.0.pom
- https://jitpack.io/com/github/armcha/AutoLinkTextViewV2/3.0.0/AutoLinkTextViewV2-3.0.0.pom
I want to filter selected Links/Tag/Mentions .
I means that i want to control which link make Active and Witch Not
Like This ( https://github.com/optonaut/ActiveLabel.swift ) for only iOS
This Library give filter option
When hashtag contains some non-standard non-English letters like German or Cyrillic letters, hashtag color breaks from that letter on. Just take a look at screenshot:
Also it happens sometimes that hashtag is not detected at all and remains completely white, although I'm still not sure if it's a library issue or something on my side..
Autolinktextview class is not compatible with HTML text as its original TextView class
Autolink cannot be applied when we change the textview's height into a fixed height.
<io.github.armcha.autolink.AutoLinkTextView
android:id="@+id/autoLinkTextView"
android:layout_width="match_parent"
android:layout_height="240dp"
android:background="@color/colorPrimary"
android:gravity="center"
android:padding="10dp"
android:textColor="@android:color/black" />
author.addAutoLinkMode(MODE_MENTION.INSTANCE);
author.setText("@hello");
颜色不正确
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void io.github.armcha.autolink.AutoLinkTextView.addAutoLinkMode(io.github.armcha.autolink.Mode[])' on a null object reference
Hello,
Is it possible to have two different custom mode in a single text to display on AutoLinkTextView ?
For example: Android is a operating system.
I want to custom on wording "Android" and "system" and display on AutoLinkTextView.
Thanks advanced for your reply.
Have a good day.
Hi,
Could you please make the AutoLinkTextView, the public?
I need to inherit from it and do my staff. but it is the final class.
Regards.
用在recyclerview中会导致item设置的click事件无效
Please change hastags regex to below regex to support Arabic hastags.
internal val HASH_TAG_PATTERN: Pattern = Pattern.compile("(?<![a-zA-Z0-9_])#(?=[0-9_]*[a-zA-Zء-ي])[a-zA-Zء-ي0-9_]+")
Kotlin版本的实在是看得不习惯
like
hashTagModeColor="@color/hashTagColor"
hi
how can set 'addAutoLinkMode' in java ?
if the url is the starting at the first word in the textview the first letter in the url not highlighted,this library has this commit for this issue but the library doesn't have this changes version 2.1.1
JFrog announced that they'll be shutting down JCenter: https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/
Also, the latest version of Android Studio (4.2) has started showing a warning that jcenter()
should be removed. Hence AutoLinkTextViewV2
should be migrated to another maven repository like Maven Central.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.