All Projects → Hamadakram → Alertview

Hamadakram / Alertview

Licence: apache-2.0
A library to create simple alerts easily with some customization.

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to Alertview

Customalertviewdialogue
Custom AlertView Dialogue is the world's most advanced alert view library. Custom AlertView Dialogue includes simple message popups, confirmation alerts, selector popups, action sheet bottom menus, and input/feedback contact forms.
Stars: ✭ 100 (-54.95%)
Mutual labels:  dialog, alert, alertview
BalloonPopup
Forget Android Toast! BalloonPopup displays a round or squared popup and attaches it to a View, like a callout. Uses the Builder pattern for maximum ease. The popup can automatically hide and can persist when the value is updated.
Stars: ✭ 32 (-85.59%)
Mutual labels:  alert, dialog, alertview
Popupdialog
A simple, customizable popup dialog for iOS written in Swift. Replaces UIAlertController alert style.
Stars: ✭ 3,709 (+1570.72%)
Mutual labels:  dialog, alert, alertview
Tyalertcontroller
Powerful, Easy to use alert view or popup view on controller and window, support blur effects,custom view and animation,for objective-c,support iphone, ipad
Stars: ✭ 1,290 (+481.08%)
Mutual labels:  alert, alertview
Alertjs
Dialog Builder allows you to create fully customisable dialogs and popups in Dynamics 365.
Stars: ✭ 80 (-63.96%)
Mutual labels:  dialog, alert
Jbox
jBox is a jQuery plugin that makes it easy to create customizable tooltips, modal windows, image galleries and more.
Stars: ✭ 1,251 (+463.51%)
Mutual labels:  dialog, alert
Xfdialogbuilder
A configable dialog for IOS. Developer can custom mask layer,window size,UI theme,text content,font,layout content,push and pop Animation.
Stars: ✭ 64 (-71.17%)
Mutual labels:  dialog, alertview
V Dialogs
A simple and clean instructional dialog plugin for Vue2, dialog type including Modal, Alert, Mask and Toast
Stars: ✭ 121 (-45.5%)
Mutual labels:  dialog, alert
Angular Confirm
A multipurpose plugin for alert, confirm & dialog for angular1
Stars: ✭ 114 (-48.65%)
Mutual labels:  dialog, alert
Kcustomalert
Simple and easy alerts to use instead of default AlertController. Separate Xib is provided to customize as pr your need. Callbacks are easily handled by using Closures.
Stars: ✭ 128 (-42.34%)
Mutual labels:  alert, alertview
Alerttoast
Create Apple-like alerts & toasts using SwiftUI
Stars: ✭ 151 (-31.98%)
Mutual labels:  dialog, alert
Pmalertcontroller
PMAlertController is a great and customizable alert that can substitute UIAlertController
Stars: ✭ 2,397 (+979.73%)
Mutual labels:  dialog, alert
Ng Popups
🎉 Alert, confirm and prompt dialogs for Angular. Simple as that.
Stars: ✭ 80 (-63.96%)
Mutual labels:  dialog, alert
React Native Alert Pro
The Pro Version of React Native Alert (Android & iOS)
Stars: ✭ 69 (-68.92%)
Mutual labels:  dialog, alert
Alertifyjs
A javascript framework for developing pretty browser dialogs and notifications.
Stars: ✭ 1,922 (+765.77%)
Mutual labels:  dialog, alert
Fabulousfilter
Android library to animate Floating Action Button to Bottom Sheet Dialog and vice-versa
Stars: ✭ 2,477 (+1015.77%)
Mutual labels:  dialog, bottomsheet
Jxpopupview
一个轻量级的自定义视图弹出框架
Stars: ✭ 117 (-47.3%)
Mutual labels:  dialog, alert
Wc Messagebox
基于 Vue 2.0 开发的 Alert, Toast, Confirm 插件, UI仿照 iOS 原生
Stars: ✭ 203 (-8.56%)
Mutual labels:  dialog, alert
Cdalertview
Highly customizable alertview and alert/notification/success/error/alarm popup written in Swift
Stars: ✭ 1,056 (+375.68%)
Mutual labels:  alert, alertview
Layer
丰富多样的 Web 弹出层组件,可轻松实现 Alert/Confirm/Prompt/ 普通提示/页面区块/iframe/tips等等几乎所有的弹出交互。目前已成为最多人使用的弹层解决方案
Stars: ✭ 8,202 (+3594.59%)
Mutual labels:  dialog, alert

AlertView

A library to create simple alerts easily with some customization. Written in Kotlin but works for both Kotlin and Java

Download

Grab via Gradle:

implementation 'com.irozon.alertview:alertview:1.0.1'
implementation 'com.android.support:design:27.1.0'

Usage

Kotlin

val alert = AlertView("Title", "Message", AlertStyle.BOTTOM_SHEET)
alert.addAction(AlertAction("Action 1", AlertActionStyle.DEFAULT, { action ->
// Action 1 callback
}))
alert.addAction(AlertAction("Action 2", AlertActionStyle.NEGATIVE, { action ->
// Action 2 callback
}))

alert.show(this)

Java

Using Lambda

AlertView alert = new AlertView("Title", "Message", AlertStyle.BOTTOM_SHEET);
alert.addAction(new AlertAction("Action 1", AlertActionStyle.DEFAULT, action -> {
// Action 1 callback
}));
alert.addAction(new AlertAction("Action 2", AlertActionStyle.NEGATIVE, action -> {
// Action 2 callback
}));

alert.show(this);

AlertStyle

There are three alert styles

  1. AlertStyle.BOTTOM_SHEET
  2. AlertStyle.IOS
  3. AlertStyle.DIALOG

AlertActionStyle

Three types of Alert Action button styles

  1. AlertActionStyle.POSITIVE
  2. AlertActionStyle.NEGATIVE
  3. AlertActionStyle.DEFAULT

Themes

  1. AlertTheme.LIGHT
  2. AlertTheme.DARK

Set theme by

alert.setTheme(AlertTheme.DARK)

Default theme is LIGHT

Apps using AlertView

If you are using AlertView in your app and would like to be listed here, please let me know by email or opening a new issue!

Authors

Contribution

Pull requests are welcome! Feel free to browse through open issues to look for things that need work. If you have a feature request or bug, please open a new issue so i can track it.

Licence

Copyright 2018 Irozon, Inc.

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.
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].