commonadapter
commonadapter copied to clipboard
通用的ListView、RecyclerView的Adapter
fragmeng中有很多数据,但是只显示一条,请问什么原因导致的?
图片根据ImageView.ScaleType CENTER_CROP 自动缩放 --- This change is [](https://reviewable.io/reviews/hehonghui/commonadapter/4)
能否加入adapter.clear() 方法? 有些情景下需要clear 掉全部数据加载新数据。 目前使用for(...){adapter.remove(..)}的方法暂时解决。
测试了下效果。发现目前不支持数组对象。只支持string类型的数组。 不支持设置控件的显示与隐藏。 这种模式使用起来确实简单很多。