Skip to content

Latest commit

 

History

History
40 lines (38 loc) · 694 Bytes

README.md

File metadata and controls

40 lines (38 loc) · 694 Bytes

CpmToast

Perfect Toast Messages

Add this in your root build.gradle :

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

Add this to your module's build.gradle

dependencies {
   implementation 'com.github.emrekotun:CpmToast:1.0.2'
}

normal_tos

Usage

Success Toast

toastSuccess("Message !") // Default Short Duration
toastSuccess("Message !",CpmToast.LONG_DURATION)

Error Toast

toastError("Message !")

Warning Toast

toastWarning("Message !")

Info Toast

toastInfo("Message !")