Move out resource data request listener to external lib