---
title: "setDetailViewListContent(_:)"
framework: sharedwithyou
role: symbol
role_heading: Instance Method
path: "sharedwithyou/swcollaborationview/setdetailviewlistcontent(_:)-8ml1c"
---

# setDetailViewListContent(_:)

Sets the detail view for the list content from view builder closures.

## Declaration

```swift
@MainActor @preconcurrency func setDetailViewListContent<ListContent>(@ViewBuilder _ detailViewListContent: () -> ListContent) where ListContent : View
```

## Parameters

- `detailViewListContent`: A ListContent view.

## See Also

### Setting view attributes

- [setContent(_:)](sharedwithyou/swcollaborationview/setcontent(_:).md)
- [setDetailViewListContent(_:)](sharedwithyou/swcollaborationview/setdetailviewlistcontent(_:)-88gy5.md)
- [setShowManageButton(_:)](sharedwithyou/swcollaborationview/setshowmanagebutton(_:).md)
