Android library with collection of some smart toasts designs which will help in situations of following:-
- Completion of some work(Done!!)
- Errors
- Warnings(Done!!)
- Connection Established(Done!!)
- Saving completion(Saved!!)
- Update Status(Updating...)
DOWNLOAD
Add this to your root build.gradle
file
allprojects {
repositories {
...
maven { url "https://jitpack.io" }
}
}
Add this to your app module's build.gradle
file
dependencies {
compile 'com.github.amanjeetsingh150:SmartyToast:1.0'
}
USAGE:
Java
SmartyToast.makeText(getApplicationContext(),"Your message",SmartyToast.LENGTH_SHORT,SmartyToast.DONE);
Last parameter here is the type of toast you want to show.
Available Parameters are:
- DONE
- WARNING
- ERROR
- SAVED
- CONNECTED
- UPDATE
License
Copyright 2017 Amanjeet Singh
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.