Skip to content

maxime-kouemo/EasySpans

Repository files navigation

Android EasySpans Library

JitPack Supports Android Views Supports Jetpack Compose License

EasySpans is a Kotlin library for simplifying text styling in Android applications. It provides two sub-libraries:

  • Legacy: For traditional Android View-based text styling.
  • Compose: For Jetpack Compose-based text styling.

Setup

Add the following to your project’s build.gradle:

dependencies {
    implementation("com.github.maxime-kouemo.EasySpans:compose:1.0.9")
    implementation("com.github.maxime-kouemo.EasySpans:legacy:1.0.9")
}

Add the Maven repository to your settings.gradle:

dependencyResolutionManagement {
    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
    repositories {
        google()
        mavenCentral()
        maven { url = uri("https://jitpack.io") }
    }
}

Modules

License

   Copyright 2025 by Maxime Kouemo

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.

About

The EasySpans library provides a flexible and chainable API for applying Android text spans to TextView widgets and Text Composables.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages