Skip to content
This repository was archived by the owner on Nov 10, 2025. It is now read-only.

Commit 1e3a6c8

Browse files
authored
Update README.md
1 parent 6fcff09 commit 1e3a6c8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,8 @@ pdfView.fromAsset(String)
103103
.autoSpacing(false) // add dynamic spacing to fit each page on its own on the screen
104104
.linkHandler(DefaultLinkHandler)
105105
.pageFitPolicy(FitPolicy.WIDTH)
106-
.pageSnap(true) // snap pages to screen boundaries
106+
.fitEachPage(false) // fit each page to fill the view, disregarding relative size
107+
.pageSnap(false) // snap pages to screen boundaries
107108
.pageFling(false) // make a fling change only a single page like ViewPager
108109
.load();
109110
```

0 commit comments

Comments
 (0)