View.setActivited()方法

Changes the activated state of this view. A view can be activated or not. Note that activation is not the same as selection. Selection is a transient property, representing the view (hierarchy) the user is currently interacting with. Activation is a longer-term state that the user can move views in and out of. For example, in a list view with single or multiple selection enabled, the views in the current selection set are activated. (Um, yeah, we are deeply sorry about the terminology here.) The activated state is propagated down to children of the view it is set on.

更改此视图的激活状态。 视图可以被激活。 请注意,激活与选择不同。 选择是一种临时属性,表示用户当前正在进行交互的视图(层次结构)。 激活是用户可以将视图移入和移出的较长期状态。 例如,在启用单个或多个选择的列表视图中,当前选择集中的视图将被激活。 (嗯,是的,我们对这里的术语深感抱歉)。激活的状态传播到被设置的视图的孩子身上。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值