首页 > 试题广场 >

RemoteView在哪些功能中使用

[不定项选择题]
RemoteView在哪些功能中使用
  • Toast
  • AppWidget
  • ListView
  • Notification
推荐
到目前为止,我发现RemoteView会用在两个地方: 一个是在AppWidget , 另外一个是在Notification.  

先从官方对他的定义来看: 
RemoteView-- 
A class that describes a view hierarchy that can be displayed in another process. The hierarchy is inflated from a layout resource file, and this class provides some basic operations for modifying the content of the inflated hierarchy. 

RemoteView描述一个view,而这个view是在另外一个进程显示的。它inflate于layout资源文件。并且提供了可以修改过view内容的一些简单基础的操作。 

从这个定义我们就知道RemoteView是用来描述一个垮进程显示的view 从而你就会明白为什么AppWidget和Nofication需要用到它了。 
http://blog.csdn.net/qaz13177_58_/article/details/7497944
编辑于 2016-10-21 14:26:38 回复(0)
没用过🙈
发表于 2018-03-22 01:38:05 回复(0)
RemoteView是用来描述一个垮进程显示的view。
发表于 2022-04-29 14:41:53 回复(0)
从这个定义我们就知道RemoteView是用来描述一个垮进程显示的view 从而你就会明白为什么AppWidget和Nofication需要用到它了。
发表于 2015-09-09 09:43:38 回复(0)
B、D   一个是在AppWidget , 另外一个是在Notification.  
RemoteView描述一个view,而这个view是在另外一个进程显示的。它inflate于layout资源文件。并且提供了可以修改过view内容的一些简单基础的操作。
发表于 2015-03-16 14:21:59 回复(0)
http://www.cnblogs.com/playing/archive/2011/04/22/2024775.html

发表于 2015-09-05 12:48:24 回复(0)
RemoteView会用在两个地方:一个是在AppWidget ,另外一个是在Notification.
发表于 2015-11-06 09:36:43 回复(0)
BD
emoteViews类描述了一个View对象能够显示在其他进程中,可以融合从一个 layout资源文件实现布局。
一般应用在Appwidget或者Notification
发表于 2015-09-04 11:07:31 回复(0)
D是可以的,用过
其他有待验证
发表于 2015-04-23 16:42:57 回复(0)
一个是在AppWidget , 另外一个是在Notification.  
发表于 2015-04-05 20:16:20 回复(0)