Description[android] Use correct view type for dropdown.
This patch changes DropdownPopupWindow to check the type of the view in
each element of the popup list when measuring the width of its contents.
This ensures that popup list adapters that use multiple view types do
not have to check the type of the view in getView() method. One example
of adapter that uses multiple types of views is
PasswordGenerationAdapter.
BUG=412150
Committed: https://crrev.com/4f2e5f49c05805761065b3ce7f97e9258ffbd4c9
Cr-Commit-Position: refs/heads/master@{#301298}
Patch Set 1 #Patch Set 2 : Check adapter for null. #
Total comments: 2
Patch Set 3 : Assert adapter is not null. #Patch Set 4 : Set adapter in tests. #
Messages
Total messages: 19 (8 generated)
|