Added code to lazy load children in xml layout