4 ms·
Making a performant list view is actually a very non-trivial task. All the weird complexity you see in the API is there to make it possible at all to have large
by DagAgren 6y ago
Making a performant list view is actually a very non-trivial task. All the weird complexity you see in the API is there to make it possible at all to have large list views that do not absolutely kill your phone.
- iainmerrick 6y agoThat’s only necessary because a View in Android is ridiculously heavyweight and slow. I ported a game from iOS to Android and just wrote simple C wrappers for all the views. I didn’t bother much with optimization, but lists with hundreds of complex items worked just fine, no lazy loading or recycling necessary.