Friday 17 November 2017

ViewFinder

The ViewHolder has one function - to provide a link to the view in a layout. So when you use the RecyclerView and you need to add a new View Type in your list - you must create a new ViewHolder. It is fine when you have a couple types. But there is no need to create each time a new Holder. With this library you no need create a ViewHolder each time. The ViewFinder as a universal ViewHolder. It can provide a link to anyone view.



from The Android Arsenal

No comments:

Post a Comment