public static void setVisibility(EfficientCacheView cacheView, int viewId, int visibility) {
        View view = cacheView.findViewByIdEfficient(viewId);
        if (view != null) {
            view.setVisibility(visibility);
        }
    }
public static void setVisibility ( EfficientCacheView cacheView , int viewId , int visibility ) { View view = cacheView . findViewByIdEfficient ( viewId ) ; if ( view != null ) { view . setVisibility ( visibility ) ; } }
Equivalent to calling View.setVisibility

@param cacheView  The cache of views to get the view from
@param viewId     The id of the view whose visibility should change
@param visibility The new visibility for the view