Added onAttach onDetach hook to ViewImpl