开发者

How do I replace a ListView item with a RemoteViews?

开发者 https://www.devze.com 2023-03-15 04:00 出处:网络
I have a ListView with a number items. I want开发者_如何转开发 to display aRemoteViews associated with the item when it\'s clicked. So how do I replace or embed a RemoteViews in a ListView item? This

I have a ListView with a number items. I want开发者_如何转开发 to display a RemoteViews associated with the item when it's clicked. So how do I replace or embed a RemoteViews in a ListView item? This is similar to Twitter's tweet function when you swipe the tweet to the leFt or right to display a list of icon and functions.

Also, some body please tag this post with "RemoteViews". Reputation of 1500 required.


Try using RemoteViewsService.RemoteViewsFactory. Supported for API lvl 11+

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号