4 ms·
If you use ViewHolder, consider using custom views instead: http://blog.xebia.com/2013/07/22/viewholder-considered-harmful/ http://blog.xebia.com/2013/07/22/vi
by bookwormAT 13y ago
If you use ViewHolder, consider using custom views instead:
http://blog.xebia.com/2013/07/22/viewholder-considered-harmful/ http://blog.xebia.com/2013/07/22/viewholder-considered-harmf...
I refactored all my code after reading this, and now I consider the ViewHolder an antipattern.
It is incredible how much cleaner and readable my codebase is with custom views. And the performance is the same.