下载完成后如何更新列表视图中的进度栏并启用列表项?
这个问题说明了一切。我需要禁用列表视图中的项目,直到应用内购买交易结束。交易结束后,下载活动将开始并下载队列中的项目(视频文件)内容。
那么,我该如何
- 禁用列表视图中的项目,直到 Android Market isPurchased 结果正常。
- 在列表视图中显示进度栏(对于每个列表项)并随着下载进度进行更新。
- 一旦列表项的下载完成,该项的 onClick 将导致 videoPlayer 活动。
- 下载完成后,每个列表项都会被启用。
请帮帮我!
更多信息: 这是一个基于蜂窝的平板电脑应用程序。布局由片段组成,左侧有类别,右侧有相关视频标题!这些是要下载的视频!
The question says it all. I need to disable the items in list view until an in-app purchase transaction gets over. Once the transaction is over, the download activity would start and download the contents of items (Video files) in a queue.
So, how do I
- Disable the items in the list view until the Android Market isPurchased result is OK.
- Showup Progressbar in listview (for each list item) and update it as the download progresses.
- Once a list item's download completes, the onClick of the item would lead to videoPlayer activity.
- As download completes, each list item would get enabled.
Please help me out!
Some more info:
This is a honeycomb based, tablet app. The layout is made of fragments and has category on the left side, the related video titles on the right side! These are the videos that are to be downloaded!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论