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

# TopSitesView

`interface TopSitesView` [(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#L12)

Implemented by the application for displaying onto the UI.

### Functions

| Name | Summary |
|---|---|
| [displayTopSites](display-top-sites.md) | `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)<br>Updates the UI with new list of top sites. |

### Extension Functions

| Name | Summary |
|---|---|
| [loadResourceAsString](../../mozilla.components.support.test.file/kotlin.-any/load-resource-as-string.md) | `fun `[`Any`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)`.loadResourceAsString(path: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`): `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)<br>Loads a file from the resources folder and returns its content as a string object. |
