实施的ListView在Android部件 [英] Implement ListView in android Widgets
问题描述
我想提出一个小部件为我的应用程序之一,其中包括一个的ListView
。
I am making a widget for one of my applications which includes a ListView
.
我要显示在我的窗口小部件的2记录列表。
我已经搜查了许多论坛和教程,但无法找到小部件上列表视图
的任何教程。
I want to display a list of 2 records on my widget.
I have searched many forums and tutorials but could not find any tutorial on ListViews
in widgets.
任何一个可以为我提供从那里我可以学到实现一些好的code /教程列表视图
在Android的小工具。
Can any one provide me with some good code/tutorials from where i can learn to implement ListViews
in Android Widgets.
推荐答案
CommonsGuy在 GitHub上
使用的ListView <一个示例小部件应用程序/ code>在主屏幕小部件:<一href="https://github.com/commonsguy/cw-advandroid/tree/master/AppWidget/LoremWidget">LoremWidget
CommonsGuy has a sample widget application in GitHub
using a ListView
in a homescreen widget: LoremWidget
这篇关于实施的ListView在Android部件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!