private static void ContentMemberAttached(ViewGroup viewGroup, MemberAttachedEventArgs args) { viewGroup.ListenParentChange(); viewGroup.SetOnHierarchyChangeListener(ContentChangeListener.Instance); }