Created
November 26, 2021 04:20
-
-
Save smrfeld/d4f35271ff884c62eff72aeb699a397e to your computer and use it in GitHub Desktop.
Lazy navigation link example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Lazy navigation link | |
| NavigationLink { | |
| NavigationLazyLoadView( | |
| DetailView(idx: idx) | |
| ) | |
| } label: { | |
| Text("Go to \(idx)") | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment