Skip to content

Commit

Permalink
Minor syntax change for isEnabled() adapter check
Browse files Browse the repository at this point in the history
  • Loading branch information
mattlogan committed Apr 23, 2014
1 parent 606dd80 commit 65a195e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ public View getView(int position, View convertView, ViewGroup parent) {
// not clickable.
@Override
public boolean isEnabled(int position) {
return !(position == 0);
return position != 0;
}
}
}

0 comments on commit 65a195e

Please sign in to comment.