Cobadge
? Unopinionated, easy-to-use, and customizable Badge component for Jetpack Compose
Getting started
In this section I will walk you through the steps to add Cobadge to your Android app.
Add the JitPack repository to your build file
Add this line at the end of repositories
:
If your project is set to fail on project repositories, then add that line to settings.gradle
file in repositories
field, so that it looks approximately like this
Add the dependency and replace Tag
with the latest version.
Latest version is indicated below:
Groovy
Kotlin DSL
Usage
Using Cobadge is really easy! Here's an example:
Here are all the options that Cobadge takes. Fortunately, most of them are optional.
Contributions
Contributions to Cobadge are welcome! Saw a bug? Create a pull request! Have a suggestion? Create an issue or start a discussion!
Author: Michael Grigoryan