All Projects → akhilbv1 → CustomToastLibrary

akhilbv1 / CustomToastLibrary

Licence: other
Android Custom Toast

Programming Languages

kotlin
9241 projects
java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to CustomToastLibrary

Collapsingtoolbarlayout Subtitle
Standard CollapsingToolbarLayout with subtitle support
Stars: ✭ 244 (+838.46%)
Mutual labels:  android-ui
andColorPicker
Color picker library for Android
Stars: ✭ 233 (+796.15%)
Mutual labels:  android-ui
VideoPreLoading
Demo for video PreLoading/ PreCaching using ExoPlayer 2.13.3 in Android.
Stars: ✭ 61 (+134.62%)
Mutual labels:  android-ui
CCView
💳 Ready made credit card creation library. 💳
Stars: ✭ 42 (+61.54%)
Mutual labels:  android-ui
random-users-details
Random Users details in flutter from randomusers api
Stars: ✭ 14 (-46.15%)
Mutual labels:  android-ui
bottomsheets
Material Bottom Sheets library for Android
Stars: ✭ 76 (+192.31%)
Mutual labels:  android-ui
Bottomsheetcoordinatorlayout
A handy CoordinatorLayout that works well when used in a bottom sheet, even with AppBarLayouts inside.
Stars: ✭ 241 (+826.92%)
Mutual labels:  android-ui
AndroidTabsExample
An Example Android Application with Tabs
Stars: ✭ 17 (-34.62%)
Mutual labels:  android-ui
TypedTextView
Custom implementation of Android's TextView simulating a keyboard/type-writer.
Stars: ✭ 57 (+119.23%)
Mutual labels:  android-ui
SnappCompose
A clone of Snapp using Jetpack Compose. Showcasing various usages of Google Maps Animations etc combined with Compose
Stars: ✭ 59 (+126.92%)
Mutual labels:  android-ui
Circular-Layout
A layout that arranges other views in a circle.
Stars: ✭ 46 (+76.92%)
Mutual labels:  android-ui
android-cuberto-dialog-design
This is an implementation inspired by beautiful design by Cuberto on his Dribble page, which can be found here https://dribbble.com/shots/3206606-Landing-page-wip
Stars: ✭ 15 (-42.31%)
Mutual labels:  android-ui
PageStepIndicator
Step indicator with titles/labels and tons of customizations.
Stars: ✭ 27 (+3.85%)
Mutual labels:  android-ui
Aboutlibraries
AboutLibraries automatically detects all dependencies of a project and collects their information including the license. Optionally visualising it via the provided ui components.
Stars: ✭ 2,777 (+10580.77%)
Mutual labels:  android-ui
XCPullToLoadMoreListView
XCPullToLoadMoreListView-下拉加载更多ListView控件(仿QQ、微信聊天对话列表控件)
Stars: ✭ 24 (-7.69%)
Mutual labels:  android-ui
Awesome Android Complete Reference
Awesome Android references for everything like best practices, performance optimization, etc.
Stars: ✭ 2,701 (+10288.46%)
Mutual labels:  android-ui
QuestionnaireView
A simple view to be able to display question and various field (Radio, EditText, checkbox ) for answers
Stars: ✭ 34 (+30.77%)
Mutual labels:  android-ui
info-bar-compose
An Android Jetpack Compose library for displaying on-screen messages. (simplified Snackbar alternative)
Stars: ✭ 80 (+207.69%)
Mutual labels:  android-ui
github-commit-browser
A blog companion sample project that demonstrates saving UI state after process death on Android utilizing the community established 3rd party libraries
Stars: ✭ 55 (+111.54%)
Mutual labels:  android-ui
edge-to-edge-decorator
Edge to edge decorator - is a utility class that is responsible for coloring the statusBar and navigationBar to maintain edge to edge (e2e) mode.
Stars: ✭ 47 (+80.77%)
Mutual labels:  android-ui

Super Toast Library

Written Purely in Kotlin❤️

Usual Toast but with super powers!!! 💪

A Fully Customised and Customisable Toast.

Android Arsenal]( https://android-arsenal.com/details/1/7328 )

Type Output
Success Alt text
Warning Alt text
Error Alt text
Information Alt text
Default Alt text

Gradle Dependencies

Please do check release notes for latest version.

      implementation 'com.github.akhilbv1:CustomToastLibrary:v1.0.2'

Add Jitpack to repositories in Project level Build.Gradle

repositories {
        google()
        jcenter()
        maven { url "https://jitpack.io" }
    }

How To Call

 CustomToast.makeText(this, Toast.LENGTH_SHORT,CustomToast.DEFAULT, "Toast is working",false).show();
Method Paramter Description
makeDefaultToast() Context context,String message Default Toast
makeSuccessToast() Context context,String message,int shouldShowIcon Success Toast with message and icon visibility
makeErrorToast() Context context,String message, int shouldShowIcon Error Toast with message and icon visibility
makeWarningToast() Context context, String message, int shouldShowIcon Warning Toast with message and icon visibility
makeInfoToast() @NonNull Context context, String message, int shouldShowIcon Information Toast with message and icon visibility

How to add Custom Layout

please make sure your Custom Layout Textview id is toastMessage otherwise Exception will be thrown.

    CustomToastView.makeText(this@Sample,Toast.LENGTH_SHORT,"Toast is working",R.layout.toast)

To show your layout without altering

    CustomToastView.makeText(this@Sample,Toast.LENGTH_SHORT,R.layout.toast)

If direct call to makeText is popping any error then please use CustomToatView.build (name of companion object)

Future Release Points

  • Add Animations

All commits are welcomed!!

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