Animate Toast crated to show a toast with animation and avatar
you can see a sample of this library
INSTALL :
Step1 : Add it in your root build.gradle at the end of repositories:
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
Step 2 : Add the dependency
dependencies {
implementation 'com.github.SINAsoheili:Animated-Toast:V1.0'
}
USAGE :
use this is very simple . you can use this looklike a Toast .
for example :
AnimatedToast t = new AnimatedToast(this , "Animated Toast" , R.drawable.home); // you must insert your context instade of "this" and image address instade of "R.drawable.home"
t.setGravity(Gravity.CENTER_VERTICAL , 0 , 0 );
t.show();
Contribute :
you can contribute in this project and help me to improve this .
for contribute :
- fork project in your repository.
- clone project in your system.
- create your branch and switch into that.
- make your change .
- commit your changes and send pull request to me. 😉
also for contribute you can use gitlab
