在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):valdesekamdem/MaterialDesign-Toast开源软件地址(OpenSource Url):https://github.com/valdesekamdem/MaterialDesign-Toast开源编程语言(OpenSource Language):Java 100.0%开源软件介绍(OpenSource Introduction):Material Design ToastMD-Toast is a simple and light Open Source Android library which, proposes Toasts (popup) with Material Design render. OverviewDemoYou can check the demo Here Getting StartedAdd Gradle dependency in the dependencies {
compile 'com.valdesekamdem.library:md-toast:0.9.0'
} Now you can use MDToast as you wish by following the bellow code: MDToast mdToast = MDToast.makeText(Context context, String message, int duration, int type);
mdToast.show();
Important to know : If you don't specify the toast's duration and type, by default MDToast will used MDToast.LENGTH_SHORT for duration and MDToast.TYPE_INFO for type. You can change the parameters during the runtime.
Note that MDToast inherits from Toast so you can always handle it as you do with ToastContributingWant to contribute ? You are welcome ! We are waiting for your pull requests. Contributors
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论