Merge "Rebind transient state views when available" into klp-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
6f07cc8424
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user