Skip to content

Commit

Permalink
Merge pull request #6 from dommel81/master
Browse files Browse the repository at this point in the history
NullPointerException on Android 4.3 (binding:selectedObject on AdapterView)
  • Loading branch information
gueei committed Jun 17, 2014
2 parents 49fb99c + 53ffe29 commit 73c5ed6
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -19,7 +19,7 @@ public SelectedObjectViewAttribute(AdapterView<?> view) {

@Override
protected void doSetAttributeValue(Object newValue) {
if(getView()==null) return;
if(getView()==null || getView().getAdapter()==null) return;
Object selected = getView().getSelectedItem();
Object o=null;

Expand Down

0 comments on commit 73c5ed6

Please sign in to comment.