Skip to content

Commit

Permalink
* fix wrong selection state after updating to FastAdapter v1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mikepenz committed Apr 4, 2016
1 parent 9dc2c8f commit 6938ac4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -864,6 +864,7 @@ public DrawerBuilder withAdapter(@NonNull FastAdapter<IDrawerItem> adapter) {
protected FastAdapter<IDrawerItem> getAdapter() {
if (mAdapter == null) {
mAdapter = new FastAdapter<>();
mAdapter.withSelectable(true);
mAdapter.withAllowDeselection(false);
mAdapter.setHasStableIds(mHasStableIds);

Expand Down

0 comments on commit 6938ac4

Please sign in to comment.