Skip to content

Commit 11e737f

Browse files
committed
Improve ExternalAdaptManager
1 parent 11f77e9 commit 11e737f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

autosize/src/main/java/me/jessyan/autosize/external/ExternalAdaptManager.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,8 @@ public boolean isRun() {
135135
*
136136
* @param run {@code true} 为让管理器启动运行, {@code false} 为让管理器停止运行
137137
*/
138-
public void setRun(boolean run) {
138+
public ExternalAdaptManager setRun(boolean run) {
139139
isRun = run;
140+
return this;
140141
}
141142
}

0 commit comments

Comments
 (0)