Get the data for the fragment