Skip to content

Commit

Permalink
Fixed divider
Browse files Browse the repository at this point in the history
Fixed swipeMenu
  • Loading branch information
AndroidLiba committed Mar 3, 2019
1 parent 833ce4f commit 08ac4ca
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ public void addValues(List<Image> list) {
notifyItemInserted(mList.size() - list.size());
}

@Override
public boolean isDividerAllowedBelow(int position) {
return super.isDividerAllowedBelow(position) && position % 2 == 0;
}

@Override
public long getItemId(int position) {
Expand Down

0 comments on commit 08ac4ca

Please sign in to comment.