[ad_1]
Interface OnSystemUiVisibilityChangeListener is nested in class View, so I believe you would have to do Class.forName("android.view.View$OnSystemUiVisibilityChangeListener"); (note the ‘$’).
References:
[ad_2]
solved android Class.forName throws exception