Merge "Rebind transient state views when available" into klp-dev

This commit is contained in:
Alan Viverette
2013-09-30 21:33:22 +00:00
committed by Android (Google) Code Review

View File

@@ -2231,12 +2231,10 @@ public abstract class AbsListView extends AdapterView<ListAdapter> implements Te
View scrapView;
scrapView = mRecycler.getTransientStateView(position);
if (scrapView != null) {
return scrapView;
if (scrapView == null) {
scrapView = mRecycler.getScrapView(position);
}
scrapView = mRecycler.getScrapView(position);
View child;
if (scrapView != null) {
child = mAdapter.getView(position, scrapView, this);