call the onInflated callback for getRepositories