<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def child_added(self, child):
 """ Overwrite the view """

        view = child.widget
        if view is not None:
            self.toast.setView(view)