Android7.0中文文档(API)-- Advanceable

来源:互联网 发布:linux 中单引号的作用 编辑:程序博客网 时间:2024/05/19 18:44

完整内容,请查看:http://www.zhdoc.net/android/reference/android/widget/Advanceable.html

Advanceable

public 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.
此接口可以通过任何集合类型的视图来实现,该视图具有通过它的一组子项来实现执行进度的概念。该接口的存在是为了让AppWidgetHosts能够承担自动推进这些集合的责任。

摘要


Public方法

abstract voidadvance()

Advances this collection, eg.
提升这个集合。

abstract voidfyiWillBeAdvancedByHostKThx()

Called by the AppWidgetHost once before it begins to call advance(), allowing the collection to do any required setup.
在开始调用advance()之前,由AppWidgetHost来调用,以允许集合处理任何必要的设置。

原创粉丝点击