Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
China-Android authored Sep 9, 2022
1 parent 548d4ca commit 7f50e36
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,18 @@ dependencies {
textColor = "@color/xxx"
textDrawableLeft="@drawable/c"
</code></pre>

## 应用户要求我的流式布局v1.1版本他来了!!!---------------------------------------------------------------------------

# 增加每个条目支持添加不同图片,长按可以删除对应条目
<br>
设置数据方法有所改变,接收的是一个FlowDataBean类型的数据集合:itemText代表要显示的文字,drawableId代表要显示图片的id
</br>
1.长按删除条目监听
<pre><code>
fl_layout.setOnClickLongDelItemListener((v, text, pos) -> {

});
</code></pre>
*注意当在xml单独设置左面图片时,优先级是大于数据集合中类型所设置图片的优先级。

0 comments on commit 7f50e36

Please sign in to comment.