Code example for Drawable

Methods: jumpToCurrentState

0
    @TargetApi(ApiHelper.VERSION_CODES.HONEYCOMB) 
    @Override 
    public void jumpDrawablesToCurrentState() { 
        super.jumpDrawablesToCurrentState(); 
        mThumbDrawable.jumpToCurrentState();
        mTrackDrawable.jumpToCurrentState();
    } 
 
    @TargetApi(ApiHelper.VERSION_CODES.ICE_CREAM_SANDWICH) 
    @Override 
    public void onInitializeAccessibilityEvent(AccessibilityEvent event) {
        super.onInitializeAccessibilityEvent(event);
        event.setClassName(Switch.class.getName());
    } 
 
    @TargetApi(ApiHelper.VERSION_CODES.ICE_CREAM_SANDWICH) 
    @Override 
    public void onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo info) {
        super.onInitializeAccessibilityNodeInfo(info);
        info.setClassName(Switch.class.getName());
Stop searching for code, let great code find you!  Add Codota to your java IDE