Alerter

screenshot of Alerter
material-ui

Alerter

An Android Alerting Library

Overview

Alerter is an Android library, now written in Kotlin, that aims to overcome the limitations of Toasts and Snackbars while simplifying the integration into any app. It provides a customizable Alert View that is dynamically added to the Decor View of the Window, overlaying all content.

Features

  • Simplicity: Alerter uses the builder pattern to make integration easy.
  • Customizable: Users can customize the background color, icon, on-screen duration, and more.
  • Support for Activities and Fragments: Alerter can be used both from an Activity and from a Fragment.
  • Visible Alert Check: Users can check if an alert is currently being shown and hide it if needed.
  • Customization of Fonts and Text Appearance: Alerter allows users to customize the fonts and text appearance of the alerts.
  • Enter/Exit Animations: Custom animations can be added to the alerts.
  • Visibility Callbacks: Users can receive callbacks when the alert becomes visible or hides.
  • Progress Bar: A progress bar can be added to the alerts.
  • Buttons: Users can add buttons to the alerts.
  • Custom Layout: Alerter allows users to create alerts with custom layouts.

Installation

To install Alerter, follow these steps:

  1. Include the JitPack.io Maven repository in your project's build.gradle file.

    repositories {
        maven { url 'https://jitpack.io' }
    }
    
  2. Add the Alerter dependency to your app's build.gradle file.

    dependencies {
        implementation 'com.github.tapadoo:alerter:5.0.0'
    }
    

Summary

Alerter is an Android library written in Kotlin that provides a customizable and simplified way to display alerts in Android apps. It offers features such as customizability, support for Activities and Fragments, visibility callbacks, progress bars, buttons, and custom layouts. By using Alerter, developers can overcome the limitations of Toasts and Snackbars while reducing the complexity of their layouts. Installing Alerter is straightforward, requiring the addition of the JitPack.io Maven repository and the Alerter dependency in the app's build.gradle file.

material-ui
Material UI

material-ui adds classes to Tailwind CSS for all common UI components. Classes like btn, card, etc. This allows us to focus on important things instead of making basic elements for every project.

material-design
Material Design

Material Design is a design system developed by Google that provides a set of guidelines, components, and tools for creating visually appealing and functional user interfaces. Material Design is designed to be flexible and customizable, making it a great choice for a wide range of applications and use cases.