Private Sub Worksheet_SelectionChange(ByVal Target As Excel.Range) If Target.Row >= 2 Then On Error Resume Next [ChangColor_With1].FormatConditions.Delete Target.EntireRow.Name = "ChangColor_With1" With [ChangColor_With1].FormatConditions .Delete
1. 点击事件(OnItemClickListener)
onItemClick(AdapterView parent, View view, int position, long id)
parent:官方解释为:The AdapterView where the click happened,也就是用户所点击的AdapterView,这个参数一般不用。
view:当前点击的列表项所对应的布局View对象,可通过这个参数获得相应的列表项内部的组件,进而对其进行操作。举个例子,假设有一个Li