question: public static void handleGoForwardControlVisibility ( ) { if ( publicWebRender . currentProgress != 100 ) { goForwardImgBtn . setBackgroundResource ( WebThemeHelper . isDark ? R . drawable . main_cross_rot_icon_light : R . drawable . main_cross_rot_icon ) ; goForwardImgBtn . setVisibility ( View . VISIBLE ) ; } else { if ( publicWebRender . canGoForward ( ) ) { goForwardImgBtn . setBackgroundResource ( WebThemeHelper . isDark ? R . drawable . ic_arrow_forward_white_48dp : R . drawable . ic_arrow_forward_black_48dp ) ; goForwardImgBtn . setVisibility ( View . VISIBLE ) ; } else goForwardImgBtn . setVisibility ( View . INVISIBLE ) ; } }
target:  Hide/show go forward button