Does using ButterKnife.findById()
offer any sort of performance increase over using findViewById()
? I'm guessing no--and this it's made for simplification of code only.
Asked
Active
Viewed 1,437 times
0
1 Answers
4
If you have a look at the source code it just does the type cast for you. So it's cleaner, but no less performant
return (T) view.findViewById(id);

keith
- 3,105
- 2
- 29
- 34
-
1I didn't think to look there for some reason--that was dumb of me. Thank you. – Nxt3 Feb 12 '16 at 02:44