Code example for View

Methods: setVisibility

0
    @Implementation 
    public void setViewVisibility(int viewId, final int visibility) {
        viewUpdaters.add(new ViewUpdater(viewId) {
            @Override 
            public void doUpdate(View view) {
                view.setVisibility(visibility);
            } 
        }); 
    } 
 
    @Implementation 
    public void setImageViewResource(int viewId, final int resourceId) {
        viewUpdaters.add(new ViewUpdater(viewId) {
            @Override 
            public void doUpdate(View view) {
                ((ImageView) view).setImageResource(resourceId);
            } 
        }); 
    } 
 
    @Implementation