mMaxLines was not being set correctly; dont draw hidden chips on first render pass
mMaxLines was always zero Setting the value correctly avoids an extra layout which makes it faster to render chips Use an "invisible" recipient chip for anything > than max chips we can show before showing the more chip; this avoids a lot of unnecessary drawing and decoding of 9 patches in the first pass; once these are resolved (or the user makes them visible), they will be correctly drawn as visible chips Part of b/7492291 First 2 contacts takes too long to resolve into chips when there are many contacts Change-Id: I37817381f93efb968940031d8a8b77fb62c8919a
Loading
Please sign in to comment