Skip to content

sunildev0/ToastIt

Repository files navigation

ToastIt

Show custom toasts.

API API

Using in your projects

Maven

Add the JitPack repository to your build file

<repositories>
	<repository>
	    <id>jitpack.io</id>
	    <url>https://jitpack.io</url>
	</repository>
</repositories>

Add the dependency

<dependency>
    <groupId>com.github.sunilk9211</groupId>
    <artifactId>ToastIt</artifactId>
    <version>1.0.0-alpha06</version>
</dependency>

Gradle

Add the JitPack repository to your build file

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

Add the dependency

dependencies {
        implementation 'com.github.sunilk9211:ToastIt:1.0.0-alpha06'
}

Usage

    ToastIt.normal(
        supportFragmentManager,
        "Title message",
        "This is your toast message"
    )

Screenshot_2022-07-17-16-48-10-8

    ToastIt.normal(
        supportFragmentManager,
        "This is your toast message"
    )

Screenshot_2022-07-17-16-48-28-3

Contributors

ToastIt Contributors