Code example for View.OnClickListener

Methods: onClick

0
        } 
    } 
 
    @Override 
    public final void onClick(View v) {
        mOnClick.onClick(v);
    } 
 
    protected void startActivity(String action){
        Intent intent = new Intent(action);
        startActivity(intent);
    } 
 
    protected void startActivity(Intent intent) {
        intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TOP);
        mContext.startActivity(intent);
        collapsePanels(); 
    } 
 
    protected void collapsePanels() { 
        XposedHelpers.callMethod(mStatusBar, "animateCollapsePanels");