Added in [API level 16](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels) Summary: [Methods](https://developer.android.com/reference/android/widget/Advanceable#pubmethods)

# Advanceable

*** ** * ** ***

` public interface Advanceable `   
` `

|---|
| android.widget.Advanceable |

Known indirect subclasses [AdapterViewAnimator](https://developer.android.com/reference/android/widget/AdapterViewAnimator), [AdapterViewFlipper](https://developer.android.com/reference/android/widget/AdapterViewFlipper), [StackView](https://developer.android.com/reference/android/widget/StackView) [AdapterViewAnimator](https://developer.android.com/reference/android/widget/AdapterViewAnimator) Base class for a `https://developer.android.com/reference/android/widget/AdapterView` that will perform animations when switching between its views. [AdapterViewFlipper](https://developer.android.com/reference/android/widget/AdapterViewFlipper) Simple `https://developer.android.com/reference/android/widget/ViewAnimator` that will animate between two or more views that have been added to it. [StackView](https://developer.android.com/reference/android/widget/StackView) A view that displays its children in a stack and allows users to discretely swipe through the children.   

*** ** * ** ***

This interface can be implemented by any collection-type view which has a notion of progressing through its set of children. The interface exists to give AppWidgetHosts a way of taking responsibility for automatically advancing such collections.

## Summary

| ### Public methods ||
|---|---|
| ` abstract void` | ` https://developer.android.com/reference/android/widget/Advanceable#advance()() ` Advances this collection, eg. |
| ` abstract void` | ` https://developer.android.com/reference/android/widget/Advanceable#fyiWillBeAdvancedByHostKThx()() ` Called by the AppWidgetHost once before it begins to call advance(), allowing the collection to do any required setup. |

## Public methods

### advance

Added in [API level 16](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public abstract void advance ()
```

Advances this collection, eg. shows the next view.

<br />

### fyiWillBeAdvancedByHostKThx

Added in [API level 16](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public abstract void fyiWillBeAdvancedByHostKThx ()
```

Called by the AppWidgetHost once before it begins to call advance(), allowing the collection to do any required setup.

<br />