/SimpleNotify

Simplification for creating notifications on Android for Kotlin

Primary LanguageKotlinApache License 2.0Apache-2.0

simplenotify-logo

SimpleNotify

Simplification in the use of notifications.

Maven Central Kotlin Androidx.Core Android Compatibility

SimpleNotify implements the Fluent API pattern to generate notifications intuitively, eliminating the need to worry about the complexities of different Android API versions. Integrate notifications into your Android projects with ease, so you can stop wasting time with documentation and focus on what really matters: Your work.

Getting Started

Use Gradle - with Groovy

dependencies {
  implementation 'com.vanskarner.android:simplenotify:1.0.0'
}

Use Gradle - with Kotlin DSL

dependencies {
    implementation("com.vanskarner.android:simplenotify:1.0.0")
}

Usage

SimpleNotify uses notification types for its publication, this is the simplest use case:

SimpleNotify.with(context)
    .asBasic { // this: Data.BasicData
        title = "New government scandals"
        text = "Covenants, Armoring, Influence peddling and others"
    }
    .show()
Basic usecase

See the quick start in the wiki for other types of notifications and additional features.

Author

Luis Olazo

Contributing

There are many ways to contribute:

  • Submit bugs and issue reports.
  • Help track and prioritize ongoing issues.
  • Review and suggest improvements to code changes.
  • Update documentation or improve examples.
  • Share feedback and ideas for new features.