linisme / SlimAdapter

A slim & clean & typeable Adapter without# VIEWHOLDER
https://raw.githubusercontent.com/MEiDIK/SlimAdapter/master/SlimAdapter.jpg
MIT License
931 stars 117 forks source link

Custom ViewType #21

Open mradzinski opened 7 years ago

mradzinski commented 7 years ago

It would be awesome if we could provide custom view types when registering a view. Right now they get generated as soon as a view needs to become available, and this makes impossible for example to prevent the recycling of a certain kind of items.

linisme commented 7 years ago

Could show me some code to use the custom viewtype feature,thanks~

juicycleff commented 6 years ago

Please I need example of using a custom view lets say like a map view