Simple Android Kotlin lib to highligt links in TextView
To get a Git project into your build:
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
dependencies {
implementation 'com.github.antoxa2584x:TextView-Linker:Tag'
}
textView?.spanAllLinks(ContextCompat.getColor(this, R.color.highlighted_text_material_light)) {
var webPage = Uri.parse(it)
}