* support custom view to reference it in java * (resolve ClassCastException)