Skip to content

Commit

Permalink
发布1.4.5
Browse files Browse the repository at this point in the history
  • Loading branch information
junixapp committed Mar 7, 2019
1 parent 24f4217 commit a8f1755
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -50,7 +50,7 @@
## 使用
首先需要添加Gradle依赖:
```groovy
implementation 'com.lxj:xpopup:1.4.4'
implementation 'com.lxj:xpopup:1.4.5'
```

为了方便使用,已经内置了几种常见弹窗的实现:
Expand Down
2 changes: 1 addition & 1 deletion library/build.gradle
Expand Up @@ -33,7 +33,7 @@ publish {
userOrg = 'li-xiaojun'
groupId = 'com.lxj'
artifactId = 'xpopup'
publishVersion = '1.4.4'
publishVersion = '1.4.5'
repoName = 'jrepo'
desc = '功能强大,UI简洁,交互优雅的通用弹窗!可以替代Dialog,PopupWindow,PopupMenu,BottomSheet,DrawerLayout等组件,自带十几种效果良好的动画, 支持完全的UI和动画自定义!'
website = 'https://github.com/li-xiaojun/XPopup'
Expand Down
7 changes: 7 additions & 0 deletions library/src/main/java/com/lxj/xpopup/core/BasePopupView.java
Expand Up @@ -345,6 +345,13 @@ protected void dismissWith(Runnable runnable){
dismiss();
}

public boolean isShow(){
return popupStatus==PopupStatus.Show;
}
public boolean isDismiss(){
return popupStatus==PopupStatus.Dismiss;
}

/**
* 消失动画执行完毕后执行
*/
Expand Down
Expand Up @@ -17,7 +17,7 @@
*/
public final class KeyboardUtils {

private static int sDecorViewInvisibleHeightPre;
private static int sDecorViewInvisibleHeightPre;
private static ViewTreeObserver.OnGlobalLayoutListener onGlobalLayoutListener;
private static OnSoftInputChangedListener onSoftInputChangedListener;

Expand Down
Expand Up @@ -9,14 +9,10 @@
import android.support.v4.view.ViewPager;
import android.support.v4.widget.ViewDragHelper;
import android.util.AttributeSet;
import android.util.Log;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewGroup;
import android.widget.FrameLayout;

import com.lxj.xpopup.interfaces.OnDragChangeListener;
import com.lxj.xpopup.util.XPopupUtils;

/**
* wrap ViewPager, process drag event.
Expand Down

0 comments on commit a8f1755

Please sign in to comment.