Added in API level 16

Advanceable


interface Advanceable
android.widget.Advanceable

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 Unit

Advances this collection, eg.

abstract Unit

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
abstract fun advance(): Unit

Advances this collection, eg. shows the next view.

fyiWillBeAdvancedByHostKThx

Added in API level 16
abstract fun fyiWillBeAdvancedByHostKThx(): Unit

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