-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
LiuRi
committed
Jan 9, 2017
1 parent
556130e
commit 0756430
Showing
1 changed file
with
13 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,25 @@ | ||
# LemonBubble4Android | ||
> 作者:1em0nsOft - LiuRi | ||
> | ||
> 版本号:1.0.5 | ||
> 版本号:1.0.6 | ||
> | ||
> 简介:这是一个完全Made in China的炫酷弹出指示层Android版本(-_-#意思就是还有iOS的),他能让你快速的自定义任何样式的弹出框。 | ||
> 最新更新记录: | ||
> | ||
> 支持Fragment自动检测功能啦,当你在Fragment中试图弹出LemonBubble的时候,会自动判断当前Fragment是否处于显示状态,如果没有显示,或者对用户不可见,就会自动忽略哦! | ||
> | ||
> 这个是测试阶段,如果发现检测的不准确,麻烦告诉我一声哦~[email protected] | ||
> | ||
> **什么?你不喜欢这个功能?或者影响你使用了?**你可以使用`LemonBubbleGlobal.useFragmentDisplayCheck = false;`这行代码把全局的Fragment显示检查功能关闭哦~ | ||
> 支持显示LemonBubble的时候设置背景蒙版的触摸事件啦,比如说,你在一个长时间网络请求的时候,你可以设置背景蒙版点击事件来终止网络请求并关闭对话框哦~具体咋用,不妨劳烦您大驾看看Demo。 | ||
> | ||
> ```java | ||
> LemonBubble.showRight(this, "加载成功啦", 3000); | ||
> LemonBubble.showRoundProgress(XXXFragment.this,"LemonKit加载中.."); | ||
> LemonBubble.showBubbleInfo(XXXFragment.this,bubbleInfo); | ||
> LemonBubble.getRoundProgressBubbleInfo() | ||
> .setTitle("无限请求中...") | ||
> .setOnMaskTouchContext(new LemonBubbleMaskOnTouchContext() { | ||
> @Override | ||
> public void onTouch(LemonBubbleInfo bubbleInfo, LemonBubbleView bubbleView) { | ||
> bubbleView.hide(); | ||
> Toast.makeText(getApplicationContext(), "您终止圆形了等待框~", Toast.LENGTH_LONG).show(); | ||
> } | ||
> }) | ||
> .show(MainActivity.this); | ||
> ``` | ||
- 废话不多说,先看看图,来~ | ||
|
@@ -41,7 +44,7 @@ allprojects { | |
dependencies { | ||
// ... 你的其他依赖 | ||
// 然后加入下面这行 | ||
compile 'com.github.1em0nsOft:LemonBubble4Android:1.0.5' | ||
compile 'com.github.1em0nsOft:LemonBubble4Android:1.0.6' | ||
} | ||
``` | ||
|