Skip to content

Commit

Permalink
Added .setGIF(int) method that allows you to add GIFs in dialogs
Browse files Browse the repository at this point in the history
  • Loading branch information
umairayub79 committed Jul 2, 2019
1 parent 95a8439 commit d30cb68
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion madialog/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ android {

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
compileOnly 'com.github.bumptech.glide:glide:4.2.0'
implementation 'com.github.bumptech.glide:glide:4.2.0'
implementation 'androidx.appcompat:appcompat:1.0.2'
implementation 'androidx.cardview:cardview:1.0.0'

Expand Down
8 changes: 4 additions & 4 deletions madialog/src/main/java/umairayub/madialog/MaDialog.java
Original file line number Diff line number Diff line change
Expand Up @@ -96,16 +96,16 @@ public Builder setMessageTextColor(int messageTextColor) {
return this;
}

public Builder setGif(int gif) {
this.gif = gif;
return this;
}
public Builder setImage(int image) {
this.image = image;

return this;
}

public Builder setGif(int gif) {
this.gif = gif;
return this;
}

public Builder setTitleTextColor(int titleTextColor) {
this.titleTextColor = titleTextColor;
Expand Down

0 comments on commit d30cb68

Please sign in to comment.