File tree Expand file tree Collapse file tree 2 files changed +25
-1
lines changed Expand file tree Collapse file tree 2 files changed +25
-1
lines changed Original file line number Diff line number Diff line change 1
1
[ ![ ] ( https://jitpack.io/v/easilycoder/GuideView.svg )] ( https://jitpack.io/#easilycoder/GuideView )
2
2
3
+ # FEATURE UPDATE
4
+
5
+ * 在显示引导图的情况下,targetView可以设置支持点击。在这种情况下,dialogFragment的事件会被透传到targetView上,触发其原有的点击逻辑;
6
+
7
+ ``` Java
8
+ // 设置targetView是否可以接受点击事件
9
+ GuideViewBundle . Builder #setTargetViewClickable();
10
+ // 设置targetView点击之后是否展示下一页的引导视图(如果没有下一页则关闭整个引导视图)
11
+ GuideViewBundle . Builder #setDismissOnTouchInTargetView();
12
+ ```
13
+
14
+ * 支持设置GuideView(即每一页的引导视图)关闭的监听;
15
+
16
+ ``` Java
17
+ GuideViewBundle . Builder #setGuideViewHideListener();
18
+ ```
19
+
20
+ * 支持设定显示条件的布尔值,方便链式调用API
21
+
22
+ ``` java
23
+ // 如果传入的condition值为false,那么即使对应的GuideViewBundle被add进GuideViewFragment中也不会被显示
24
+ GuideViewBundle . Builder #condition(condition)
25
+ ```
26
+
3
27
4
28
# GuideView:基于DialogFragment实现
5
29
You can’t perform that action at this time.
0 commit comments