add api Of getCurrentView