Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
kongzue committed May 4, 2022
1 parent a14c680 commit 6291afc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,12 @@ Runner.changeData("subscriberA", "Test Message");
| ImageView | Bitmap、int(资源id)、Drawable、Icon、Uri |
| ListView | ListAdapter、List(仅支持执行对应 adapter 的数据更新操作 notifyDataSetChanged) |

此外,你还可以通过注解 `@DataWatchers` 设置订阅多个广播:
```java
@DataWatchers({"subscriberA", "subscriberB"})
private TextView txtSubscribeMessage;
```

##### 根据 View 的 Tag 更新内容

你还可以使用以下代码根据 View 设置的 Tag 来修改内容,对所有界面同 Tag 全部生效。
Expand Down

0 comments on commit 6291afc

Please sign in to comment.