Skip to content

Commit

Permalink
Add missing break
Browse files Browse the repository at this point in the history
  • Loading branch information
rubensousa committed Aug 31, 2019
1 parent d8b9d8d commit f29d8c8
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ public GravitySnapRecyclerView(@NonNull Context context, @Nullable AttributeSet
break;
case 4:
snapHelper = new GravitySnapHelper(Gravity.CENTER);
break;
default:
throw new IllegalArgumentException("Invalid gravity value. Use START " +
"| END | BOTTOM | TOP | CENTER constants");
Expand Down

0 comments on commit f29d8c8

Please sign in to comment.