summaryrefslogtreecommitdiffstats
path: root/include/utils/SortedVector.h
diff options
context:
space:
mode:
authorMarco Nelissen <marcone@google.com>2011-04-19 14:07:55 -0700
committerMarco Nelissen <marcone@google.com>2011-04-19 14:31:20 -0700
commit22c04a316a482176957fd27285c0fe36e2f3979c (patch)
tree8f37b682c78bc81eaf798bb17fbb69fe0b214db6 /include/utils/SortedVector.h
parent08d1f937236230756bffde241ad6b335da368cf9 (diff)
downloadframeworks_base-22c04a316a482176957fd27285c0fe36e2f3979c.zip
frameworks_base-22c04a316a482176957fd27285c0fe36e2f3979c.tar.gz
frameworks_base-22c04a316a482176957fd27285c0fe36e2f3979c.tar.bz2
Fix bugs in ListView
Make addHeaderView and addFooterView be more consistent with each other: they now both check that there either is no existing adapter, or that the existing adapter is a HeaderViewListAdapter, and they both call the DataSetObserver (previously only addHeaderView would check the adapter, and it would only check that it was null, while only addFooterView would call the DataSetObserver) Make removeHeaderView and removeFooterView check that the DataSetObserver is non-null before using it. Change-Id: I681b87f70aabca63e664ca8d0c1cfc25530e00b9
Diffstat (limited to 'include/utils/SortedVector.h')
0 files changed, 0 insertions, 0 deletions