Skip to content

Commit 885f3b7

Browse files
imhappidsn5ft
authored andcommitted
[Carousel] Make KeylineState.Builder constructor public for customizing strategies
PiperOrigin-RevId: 679737112
1 parent 74b5900 commit 885f3b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/java/com/google/android/material/carousel/KeylineState.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ public static final class Builder {
280280
* carousel to measure and lay out all children, overriding each child's desired size.
281281
* @param availableSpace The available space of the carousel the keylines calculate cutoffs by.
282282
*/
283-
Builder(float itemSize, float availableSpace) {
283+
public Builder(float itemSize, float availableSpace) {
284284
this.itemSize = itemSize;
285285
this.availableSpace = availableSpace;
286286
}

0 commit comments

Comments
 (0)