mumu

Results 78 comments of mumu

这种的话会要用一堆的 if else 或者 switch 去区分,这样真的会更方便么😂?

> 要是吧需要设置点击事件的子view像参数一样传递到listener里就好了,用args那种可以传递好几个id,这样方便的多,也不用add了🤔 好的,了解

> 他的使用方式就是没有封装的 ![image](https://user-images.githubusercontent.com/20966610/238824207-1d67fa38-6d75-41f1-9175-0df56d8e9d48.png) > > 封装后使用 ![image](https://user-images.githubusercontent.com/20966610/238824967-a55a71d5-0c88-41b8-9c48-cc9d2627364b.png) 很不错的封装。里面是用的反射么?

> > > 他的使用方式就是没有封装的 ![image](https://user-images.githubusercontent.com/20966610/238824207-1d67fa38-6d75-41f1-9175-0df56d8e9d48.png) > > > 封装后使用 ![image](https://user-images.githubusercontent.com/20966610/238824967-a55a71d5-0c88-41b8-9c48-cc9d2627364b.png) > > > > > > 很不错的封装。里面是用的反射么? > > [Viewbinding.zip](https://github.com/CymChad/BaseRecyclerViewAdapterHelper/files/11589843/Viewbinding.zip) 上面的文件就是针对你的文件进行了Viewbinding的封装的文件你可以放到你library里面。使用都是和上面的例子一样 这个我考虑下,因为之前没有用反射,就是因为有的同学对反射比较反感