All Projects → antoxa2584x → TextView-Linker

antoxa2584x / TextView-Linker

Licence: other
Simple Android Kotlin lib to highlight links in TextView

Programming Languages

kotlin
9241 projects

Android Arsenal

TextView-Linker

Simple Android Kotlin lib to highligt links in TextView

How to

To get a Git project into your build:

Step 1. Add the JitPack repository to your build file

allprojects {
	repositories {
		...
		maven { url 'https://jitpack.io' }
	}
}

Step 2. Add the dependency

dependencies {
        implementation 'com.github.antoxa2584x:TextView-Linker:Tag'
}

Step 3. Span TextView

textView?.spanAllLinks(ContextCompat.getColor(this, R.color.highlighted_text_material_light)) {
          var webPage = Uri.parse(it)
}

1d4e6bb190cffced0774e6d71755ca27.md.jpg

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].