Skip to content

Commit ffbb3f3

Browse files
committed
readme updated
1 parent fb9b860 commit ffbb3f3

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

.idea/dictionaries/Ved.xml

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ Add this in your root `build.gradle` file (**not** your module `build.gradle` fi
1111
```gradle
1212
allprojects {
1313
repositories {
14-
...
1514
maven { url "https://jitpack.io" }
1615
}
1716
}
@@ -104,19 +103,19 @@ DesignerToast.Success("yourContext", "Success",, "Hello this is demo success!",G
104103
To display the error Toast:
105104

106105
``` java
107-
DesignerToast.Success("yourContext", "Error",, "Hello this is demo error!",Gravity.CENTER, Toast.LENGTH_SHORT,DesignerToast.STYLE_DARK);
106+
DesignerToast.Error("yourContext", "Error",, "Hello this is demo error!",Gravity.CENTER, Toast.LENGTH_SHORT,DesignerToast.STYLE_DARK);
108107
```
109108

110109
To display a warning Toast:
111110

112111
``` java
113-
DesignerToast.Success("yourContext", "Warning",, "Hello this is demo warning!",Gravity.CENTER, Toast.LENGTH_SHORT,DesignerToast.STYLE_DARK);
112+
DesignerToast.Warning("yourContext", "Warning",, "Hello this is demo warning!",Gravity.CENTER, Toast.LENGTH_SHORT,DesignerToast.STYLE_DARK);
114113
```
115114

116115
To display an info Toast:
117116

118117
``` java
119-
DesignerToast.Success("yourContext", "Info",, "Hello this is demo info!",Gravity.CENTER, Toast.LENGTH_SHORT,DesignerToast.STYLE_DARK);
118+
DesignerToast.Info("yourContext", "Info",, "Hello this is demo info!",Gravity.CENTER, Toast.LENGTH_SHORT,DesignerToast.STYLE_DARK);
120119
```
121120

122121

0 commit comments

Comments
 (0)