How to use listview in a widget?(如何在小部件中使用列表视图?)
问题描述
我正在尝试创建一个从 rss 提要加载到小部件中的列表视图?
I am trying to create a listview loaded from rss feeds into a widget?
有人知道如何在 wigdet 中使用列表视图的教程吗?
Does anyone know of a tutorial on how to use a listview in a wigdet?
或者也许有人可以提供 1 个.
Or maybe someone could provide 1.
推荐答案
我正在尝试创建一个从 rss 提要加载到小部件中的列表视图?
I am trying to create a listview loaded from rss feeds into a widget?
这仅适用于 Honeycomb.早期版本的 Android 不支持此功能,未来是否会在手机上支持还有待观察.
This is only possible on Honeycomb. Earlier versions of Android did not support this, and it remains to be seen if it will be supported on phones going forward.
有人知道如何在 wigdet 中使用列表视图的教程吗?
Does anyone know of a tutorial on how to use a listview in a wigdet?
WeatherListWidget 示例在您的 SDK 中,并在文档中进行了简单说明一个>.
The WeatherListWidget sample is in your SDK and is lightly explained in the documentation.
这篇关于如何在小部件中使用列表视图?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:如何在小部件中使用列表视图?
				
        
 
            
        基础教程推荐
- Xcode UIView.init(frame:) 只能在主线程中使用 2022-01-01
 - Android Volley - 如何动画图像加载? 2022-01-01
 - navigationItem.backBarButtonItem 不工作?为什么上一个菜单仍然显示为按钮? 2022-01-01
 - UIImage 在开始时不适合 UIScrollView 2022-01-01
 - 如何将图像从一项活动发送到另一项活动? 2022-01-01
 - SwiftUI-ScrollViewReader的ScrollTo不滚动 2022-01-01
 - iOS - UINavigationController 添加多个正确的项目? 2022-01-01
 - Play 商店的设备兼容性问题 2022-01-01
 - 如何比较两个 NSDate:哪个是最近的? 2022-01-01
 - 为什么姜饼模拟器方向卡在应用程序中? 2022-01-01
 
    	
    	
    	
    	
    	
    	
    	
    	
				
				
				
				