An open API service indexing awesome lists of open source software.

https://github.com/khan-mujeeb/custom-toast-library

android library to make toast
https://github.com/khan-mujeeb/custom-toast-library

android-library android-studio java toast toast-notifications

Last synced: 11 months ago
JSON representation

android library to make toast

Awesome Lists containing this project

README

          

# Custom-Toast-Library
## How to get a Git project into your build:
- **Step 1. Add to your build file**
```
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
```
- **Step 2. Add the dependency**
```
dependencies {
implementation 'com.github.khan-mujeeb:Custom-Toast-Library:v1.0.0'
}
```

### Toast with short time durarion
```java
CustomToast.simpleToast(this,message);
```

### Toast with custom time durarion
```java
int time_duration;
time_duration = 0; // for LENGTH_SHORT
time_duration = 1; // for LENGTH_LONG
CustomToast.simpleToast(this,message,time_duration);
```