a
554325746@qq.com
2019-12-25 603cb36a5123e46656b06a5deb8d7ac7ff81307f
app/src/main/java/com/basic/security/widget/hlistview/AbsHListView.java
@@ -894,7 +894,7 @@
                }
                ((MultiChoiceModeWrapper) mMultiChoiceModeCallback).setWrapped(listener);
            } else {
                System.out.println("AbsHListView.setMultiChoiceModeListener");
                System1.out.println("AbsHListView.setMultiChoiceModeListener");
            }
        } catch (Exception e) {
            e.printStackTrace();
@@ -1758,16 +1758,6 @@
        return mSelector;
    }
    /**
     * Set a Drawable that should be used to highlight the currently selected item.
     *
     * @param resID A Drawable resource to use as the selection highlight.
     * @attr ref android.R.styleable#AbsListView_listSelector
     */
    public void setSelector(int resID) {
        setSelector(getResources().getDrawable(resID));
    }
    public void setSelector(Drawable sel) {
        if (mSelector != null) {
            mSelector.setCallback(null);
@@ -1785,6 +1775,16 @@
    }
    /**
     * Set a Drawable that should be used to highlight the currently selected item.
     *
     * @param resID A Drawable resource to use as the selection highlight.
     * @attr ref android.R.styleable#AbsListView_listSelector
     */
    public void setSelector(int resID) {
        setSelector(getResources().getDrawable(resID));
    }
    /**
     * Sets the selector state to "pressed" and posts a CheckForKeyLongPress to see if this is a long press.
     */
    protected void keyPressed() {