Skip to content

Commit

Permalink
we do not want a divider after the last item
Browse files Browse the repository at this point in the history
  • Loading branch information
commonsguy committed Feb 8, 2016
1 parent f3b6f10 commit bbf4a50
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -35,7 +35,7 @@ public void onDrawOver(Canvas c, RecyclerView parent, RecyclerView.State state)

int childCount=parent.getChildCount();

for (int i=0; i<childCount; i++) {
for (int i=0; i<childCount-1; i++) {
View child=parent.getChildAt(i);
RecyclerView.LayoutParams params=
(RecyclerView.LayoutParams)child.getLayoutParams();
Expand Down

0 comments on commit bbf4a50

Please sign in to comment.