Reuse the same Incidence pointers onDataChanged.
On dataChanged we get a new Item with a new payload, and we store that item in mItemsById map. That payload will have a different raw pointer than the one we already have internally, so update the payload. Reduces memory consumption.
parent
5081f871
Please register or sign in to comment