Loading core/java/android/widget/ListPopupWindow.java +2 −1 Original line number Original line Diff line number Diff line Loading @@ -706,7 +706,8 @@ public class ListPopupWindow { if (mItemClickListener != null) { if (mItemClickListener != null) { final DropDownListView list = mDropDownList; final DropDownListView list = mDropDownList; final View child = list.getChildAt(position - list.getFirstVisiblePosition()); final View child = list.getChildAt(position - list.getFirstVisiblePosition()); mItemClickListener.onItemClick(list, child, position, child.getId()); final ListAdapter adapter = list.getAdapter(); mItemClickListener.onItemClick(list, child, position, adapter.getItemId(position)); } } return true; return true; } } Loading Loading
core/java/android/widget/ListPopupWindow.java +2 −1 Original line number Original line Diff line number Diff line Loading @@ -706,7 +706,8 @@ public class ListPopupWindow { if (mItemClickListener != null) { if (mItemClickListener != null) { final DropDownListView list = mDropDownList; final DropDownListView list = mDropDownList; final View child = list.getChildAt(position - list.getFirstVisiblePosition()); final View child = list.getChildAt(position - list.getFirstVisiblePosition()); mItemClickListener.onItemClick(list, child, position, child.getId()); final ListAdapter adapter = list.getAdapter(); mItemClickListener.onItemClick(list, child, position, adapter.getItemId(position)); } } return true; return true; } } Loading