|
@@ -59,7 +59,7 @@ public class BaseDialog {
|
|
|
if (DEBUGMODE) Log.e(">>>", o.toString());
|
|
|
}
|
|
|
|
|
|
- public static void show(final View view) {
|
|
|
+ protected static void show(final View view) {
|
|
|
if (rootFrameLayout == null || view == null || rootFrameLayout.get() == null) return;
|
|
|
log(view.getTag() + ".show");
|
|
|
rootFrameLayout.get().post(new Runnable() {
|
|
@@ -70,7 +70,7 @@ public class BaseDialog {
|
|
|
});
|
|
|
}
|
|
|
|
|
|
- public static void show(Activity activity, final View view) {
|
|
|
+ protected static void show(Activity activity, final View view) {
|
|
|
if (activity == null || view == null) return;
|
|
|
log(view.getTag() + ".show");
|
|
|
final FrameLayout activityRootView = (FrameLayout) activity.getWindow().getDecorView();
|
|
@@ -83,7 +83,7 @@ public class BaseDialog {
|
|
|
});
|
|
|
}
|
|
|
|
|
|
- public static void dismiss(View dialogView) {
|
|
|
+ protected static void dismiss(View dialogView) {
|
|
|
log(dialogView.getTag() + ".dismiss");
|
|
|
if (rootFrameLayout == null || dialogView == null) return;
|
|
|
if (dialogView.getParent() == null || !(dialogView.getParent() instanceof ViewGroup)) {
|