---
title: showsSpinnerWhileEmpty
framework: carplay
role: symbol
role_heading: Instance Property
path: carplay/cplisttemplate/showsspinnerwhileempty
---

# showsSpinnerWhileEmpty

If YES, a spinning activity indicator will be displayed while the list template contains no items. The activity indicator will be displayed in addition to any @c emptyViewTitleVariants or

## Declaration

```swift
var showsSpinnerWhileEmpty: Bool { get set }
```
