Code example for View

Methods: getVisibility

0
        mView.setVisibility(visible ? View.VISIBLE : View.GONE);
        return this;
    } 
 
    boolean isVisible() { 
        return mView.getVisibility() == View.VISIBLE;
    } 
 
    HomeDisplay setExpanded(boolean expanded) {
        mExpanded = expanded;
        updateImage(); 
        return this;
    } 
 
    HomeDisplay setImageMode(Mode mode) {
        mMode = mode;
        updateImage(); 
        return this;
    } 
 
    HomeDisplay setAsUp(boolean asUp) {