Skip to content

Commit d3d7d78

Browse files
update
1 parent 9b6ab1e commit d3d7d78

File tree

5 files changed

+10
-6
lines changed

5 files changed

+10
-6
lines changed

.idea/caches/gradle_models.ser

46 Bytes
Binary file not shown.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ Provides you easily create various pop-up dialogs that you can use.
238238

239239
## License
240240

241-
- Copyright 2019 © Enes Karpuzoğlu.
241+
- Copyright 2018 © Enes Karpuzoğlu.
242242

243243
Licensed under the Apache License, Version 2.0 (the "License");
244244
you may not use this file except in compliance with the License.

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ buildscript {
77
jcenter()
88
}
99
dependencies {
10-
classpath 'com.android.tools.build:gradle:3.4.0'
10+
classpath 'com.android.tools.build:gradle:3.4.1'
1111

1212

1313
// NOTE: Do not place your application dependencies here; they belong

fastdialog/src/main/java/karpuzoglu/enes/com/fastdialog/FastDialog.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,12 @@ public void negativeClickListener(NegativeClick click){
7070
}
7171
public void dismissListener(DismissListener dismissListener){builder.setDismissListener(dismissListener);}
7272
public boolean isShowing(){
73-
return builder.getDialog().isShowing();
73+
if (builder != null && builder.getDialog() != null){
74+
return builder.getDialog().isShowing();
75+
}else{
76+
return false;
77+
}
78+
7479
}
7580
public String getUsernameOrEmail(){
7681
String text = null;

fastdialog/src/main/java/karpuzoglu/enes/com/fastdialog/FastDialogBuilder.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,12 @@
1515
import android.view.View;
1616
import android.view.WindowManager;
1717
import android.widget.Button;
18-
import android.widget.GridLayout;
1918
import android.widget.LinearLayout;
2019
import android.widget.TextView;
2120

2221
import com.airbnb.lottie.LottieAnimationView;
2322

24-
import java.util.List;
23+
import java.util.ArrayList;
2524

2625
/**
2726
* Created by ENES on 7.12.2018.
@@ -184,7 +183,7 @@ public FastDialogBuilder changeColor(int colorItem,int colorItemText,int colorTe
184183
}
185184
return this;
186185
}
187-
public FastDialogBuilder setActiveButtons(List<FolderButton> buttonList){
186+
public FastDialogBuilder setActiveButtons(ArrayList<FolderButton> buttonList){
188187
folderAdapter.setActiveButtons(buttonList);
189188
folderAdapter.notifyDataSetChanged();
190189
return this;

0 commit comments

Comments
 (0)