Closed ghost closed 7 years ago
been giving this some thought, and think it's worth the extra 30 method count to rvadapter for the added ease of use. (I think the follow up collection change will possibly lead to a slight reduce too? I'll look into it.)
Per offline discussion, I still think the static layout presenters should use -1 for stable IDs. In this way, you don't need to maintain the dynamic presenter array, and you don't accidentally offset the user-provided stable IDs beyond Long.MAX_VALUE. Let any special need be handled by actual (special) RepositoryPresenter implementations.
Good point, beyond max value is def. an issue. How about an ID map, count up for each added item, adding the static at the start, and only have the map if there's static views? Best of both worlds? (or least worse?)
That's too much to handle :)
not too hard to do, and has no impact unless you use static items? why too much?
Codecov Report
100% <100%> (ø)
3 <3> (?)
100% <100%> (ø)
2 <2> (?)
93.28% <91.89%> (+6.4%)
22 <0> (+1)
96.66% <96.66%> (ø)
2 <2> (?)
Continue to review full report at Codecov.