Hi everyone!

I wanted to let you know that the RecyclerView integration has landed (bug
1171288 [1])!

RecyclerView is a modern replacement for ListView and GridView that is more
flexible.

Some highlights are:
* It uses (customizable) layout managers for positioning items and has
three built-in layout managers: LinearLayoutManager (vertical/horizontal
lists), GridLayoutManager and StaggeredGridLayoutManager.
* It supports animations for adding and removing items

The library came with a cost of 190kB. Hopefully we can get some of that
back by gradually removing our outdated copy of the TwoWayView library (bug
1158303 [2]) and unifying all our list/grid code.

If you want to learn more about RecyclerView, I compiled a list of
interesting blog postings:
* http://www.grokkingandroid.com/first-glance-androids-recyclerview/
*
https://www.bignerdranch.com/blog/recyclerview-part-1-fundamentals-for-listview-experts/
* https://www.bignerdranch.com/blog/recyclerview-part-2-choice-modes/
* http://www.birbit.com/recyclerview-animations-part-1-how-animations-work/
* http://www.birbit.com/recyclerview-animations-part-2-behind-the-scenes/

Best,
Sebastian

[1]: https://bugzilla.mozilla.org/show_bug.cgi?id=1171288
[2]: https://bugzilla.mozilla.org/show_bug.cgi?id=1158303
_______________________________________________
mobile-firefox-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/mobile-firefox-dev

Reply via email to