Skip to content

Commit

Permalink
Fixed a NullPointerException in Adis
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelm committed Oct 26, 2015
1 parent 579c157 commit d174b89
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,9 @@ public void onClick(View arg0) {
}
} else if (field instanceof DropdownSearchField) {
DropdownSearchField ddSearchField = (DropdownSearchField) field;
if (ddSearchField.getDropdownValues() == null) {
continue;
}
v = (ViewGroup) getLayoutInflater(null).inflate(
R.layout.searchfield_dropdown, llFormFields, false);
TextView title = (TextView) v.findViewById(R.id.title);
Expand Down

0 comments on commit d174b89

Please sign in to comment.