Using generics; checking if childe view ID is provided