[android-components](../../index.md) / [mozilla.components.feature.top.sites.view](../index.md) / [TopSitesView](index.md) / [displayTopSites](./display-top-sites.md)

# displayTopSites

`abstract fun displayTopSites(topSites: `[`List`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)`<`[`TopSite`](../../mozilla.components.feature.top.sites/-top-site/index.md)`>): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/feature/top-sites/src/main/java/mozilla/components/feature/top/sites/view/TopSitesView.kt#L16)

Updates the UI with new list of top sites.

