All Projects → onurkagan → Ktoast

onurkagan / Ktoast

Licence: apache-2.0
Customizable toast messages.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Ktoast

Anylayer
Android稳定高效的浮层创建管理框架
Stars: ✭ 745 (+964.29%)
Mutual labels:  toast
Sneaker
A lightweight Android library for customizable alerts
Stars: ✭ 928 (+1225.71%)
Mutual labels:  toast
React Native Redux Toast
Simple to use, easy to customize Toast component for Android & iOS. Developed with love for redux apps
Stars: ✭ 51 (-27.14%)
Mutual labels:  toast
Vue Toastification
Vue notifications made easy!
Stars: ✭ 747 (+967.14%)
Mutual labels:  toast
Burnttoast
Module for creating and displaying Toast Notifications on Microsoft Windows 10.
Stars: ✭ 796 (+1037.14%)
Mutual labels:  toast
Fluttertoast
Android Toast Plugin for Flutter
Stars: ✭ 957 (+1267.14%)
Mutual labels:  toast
Sweet Alert
A BEAUTIFUL, RESPONSIVE, CUSTOMIZABLE, ACCESSIBLE (WAI-ARIA) REPLACEMENT FOR JAVASCRIPT'S POPUP BOXES FOR LARAVEL
Stars: ✭ 696 (+894.29%)
Mutual labels:  toast
Flui
A powerful UI framework for Google Flutter.
Stars: ✭ 1,153 (+1547.14%)
Mutual labels:  toast
React Toastify
React notification made easy 🚀 !
Stars: ✭ 8,113 (+11490%)
Mutual labels:  toast
Easyandroid
一系列简单、轻量、方便的Android开发工具集合(持续更新中),包括Android动态权限、SharedPreferences、反射、日志、Toast、Bundle、MVP、线程池、Html、图文混排、蒙层引导、拍照、图库选择等
Stars: ✭ 1,039 (+1384.29%)
Mutual labels:  toast
Vue Snotify
Vuejs 2 Notification Center
Stars: ✭ 755 (+978.57%)
Mutual labels:  toast
Laravel Notify
Flexible Flash notifications for Laravel
Stars: ✭ 787 (+1024.29%)
Mutual labels:  toast
React Native Easy Toast
A react native module to show toast like android, it works on iOS and Android.
Stars: ✭ 990 (+1314.29%)
Mutual labels:  toast
Universaltoast
简洁优雅可点击的toast控件,无BadTokenException风险,关闭通知权限依然正常显示。An elegant and flexible toast which can handle click event , avoid BadTokenException and run fine without notification permission
Stars: ✭ 748 (+968.57%)
Mutual labels:  toast
Fancytoast Android
Make your native android Toasts Fancy. A library that takes the standard Android toast to the next level with a variety of styling options. Style your toast from code.
Stars: ✭ 1,067 (+1424.29%)
Mutual labels:  toast
Toasty
The usual Toast, but with steroids 💪
Stars: ✭ 6,279 (+8870%)
Mutual labels:  toast
Androidutilcode
AndroidUtilCode 🔥 is a powerful & easy to use library for Android. This library encapsulates the functions that commonly used in Android development which have complete demo and unit test. By using it's encapsulated APIs, you can greatly improve the development efficiency. The program mainly consists of two modules which is utilcode, which is commonly used in development, and subutil which is rarely used in development, but the utils can be beneficial to simplify the main module. 🔥
Stars: ✭ 30,239 (+43098.57%)
Mutual labels:  toast
Reapop
📮 A simple and customizable React notifications system
Stars: ✭ 1,155 (+1550%)
Mutual labels:  toast
Topmessage
A beautiful way of message prompting instead of Toast!
Stars: ✭ 62 (-11.43%)
Mutual labels:  toast
Jhud
A full screen of the HUD when loading the data (Objective-C).
Stars: ✭ 1,003 (+1332.86%)
Mutual labels:  toast

KToast

API Android Arsenal Downloads Twitter Follow

Custom toast messages.

  • You can create customizable toast messages with KToast.
  • Use KToast.LENGTH_AUTO for unnormally long texts.
  • You can use Gravity.BOTTOM, Gravity.TOP, Gravity.LEFT or Gravity.RIGHT for toast position on screen.

*K is not kotlin.

Cases :

Examples :

// Success
KToast.successToast(YourActivity.this, "This is a success toast.", Gravity.BOTTOM, KToast.LENGTH_AUTO);

// Info
KToast.infoToast(YourActivity.this, "This is a info toast.", Gravity.BOTTOM, KToast.LENGTH_SHORT);

// Normal
KToast.normalToast(YourActivity.this, "This is a normal toast.", Gravity.BOTTOM, KToast.LENGTH_LONG, R.drawable.ic_infinite_white);

// Warning
KToast.warningToast(YourActivity.this, "This is a warning toast.", Gravity.BOTTOM, KToast.LENGTH_AUTO);

// Error
KToast.errorToast(YourActivity.this, "This is a error toast.", Gravity.BOTTOM, KToast.LENGTH_AUTO);

// Custom Color
KToast.customColorToast(YourActivity.this, "This is a custom color toast.", Gravity.BOTTOM, KToast.LENGTH_AUTO, R.color.fuchsia, R.drawable.ic_infinite_white);

// Custom Drawable
KToast.customBackgroudToast(YourActivity.this, "This is a custom drawable toast.", Gravity.BOTTOM, KToast.LENGTH_AUTO, R.drawable.background_toast, null ,R.drawable.ic_infinite_white);

Installation

Step 1. Add the JitPack repository to your build file.

allprojects {
    repositories {
      maven { url 'https://jitpack.io' }
    }
}

Step 2. Add the dependency

dependencies {
  implementation 'com.github.onurkagan:ktoast:1.0.3'
}
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].